Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250530) (c39b7370636)
Mustache_Parser Class Reference

Public Member Functions

 parse (array $tokens=array())
 Process an array of Mustache tokens and convert them into a parse tree.
 
 setPragmas (array $pragmas)
 Enable pragmas across all templates, regardless of the presence of pragma tags in the individual templates.
 

Member Function Documentation

◆ parse()

Mustache_Parser::parse ( array $tokens = array())

Process an array of Mustache tokens and convert them into a parse tree.

Parameters
array$tokensSet of Mustache tokens
Return values
arrayMustache token parse tree

The documentation for this class was generated from the following file: