Parser
class Parser extends Object
Latte parser.
Constants
internal RE_STRING |
|
internal N_PREFIX |
|
internal CONTEXT_HTML_TEXT |
|
internal CONTEXT_CDATA |
|
internal CONTEXT_HTML_TAG |
|
internal CONTEXT_HTML_ATTRIBUTE |
|
internal CONTEXT_RAW |
|
internal CONTEXT_HTML_COMMENT |
|
Properties
string | $defaultSyntax | ||
bool | $shortNoEscape | ||
array | $syntaxes |
Methods
setContentType($type)
No description
setContext($context, $quote = NULL)
No description
setDelimiters($left, $right)
Changes macro tag delimiters.
array
parseMacroTag($tag)
Parses macro tag to name, arguments a modifiers parts.
filter()
Process low-level macros.
Details
at line 80
Token[]
parse($input)
Process all {macros} and
at line 282
Parser
setContentType($type)
No description
at line 300
Parser
setContext($context, $quote = NULL)
No description
at line 312
Parser
setSyntax($type)
Changes macro tag delimiters.
at line 330
Parser
setDelimiters($left, $right)
Changes macro tag delimiters.
at line 353
array
parseMacroTag($tag)
internal |
Parses macro tag to name, arguments a modifiers parts.
at line 402
protected
filter()
Process low-level macros.