Class Compiler
Latte compiler.
- Latte\Compiler uses Latte\Strict
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
integer|null
|
|
public
boolean
|
|
public
|
|
public
array
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
#
closeMacro( string $name, string $args = null, string $modifiers = null, boolean $isRightmost = false, $nPrefix = null )
Generates code for {/macro ...} to the output. |
public
|
|
public
|
#
expandMacro( string $name, string $args, string $modifiers = null, $nPrefix = null )
Expands macro and returns node & code. |
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset()
|
string |
CONTENT_HTML
Context-aware escaping content types |
|
string |
CONTENT_XHTML
Context-aware escaping content types |
|
string |
CONTENT_XML
Context-aware escaping content types |
|
string |
CONTENT_JS
Context-aware escaping content types |
|
string |
CONTENT_CSS
Context-aware escaping content types |
|
string |
CONTENT_ICAL
Context-aware escaping content types |
|
string |
CONTENT_TEXT
Context-aware escaping content types |
|
|
CONTEXT_HTML_TEXT
|
# null |
string |
CONTEXT_HTML_TAG
|
# 'Tag' |
string |
CONTEXT_HTML_ATTRIBUTE
|
# 'Attr' |
string |
CONTEXT_HTML_ATTRIBUTE_JS
|
# 'AttrJs' |
string |
CONTEXT_HTML_ATTRIBUTE_CSS
|
# 'AttrCss' |
string |
CONTEXT_HTML_ATTRIBUTE_URL
|
# 'AttrUrl' |
string |
CONTEXT_HTML_ATTRIBUTE_UNQUOTED_URL
|
# 'AttrUnquotedUrl' |
string |
CONTEXT_HTML_COMMENT
|
# 'Comment' |
string |
CONTEXT_HTML_BOGUS_COMMENT
|
# 'Bogus' |
string |
CONTEXT_HTML_CSS
|
# 'Css' |
string |
CONTEXT_HTML_JS
|
# 'Js' |
|
CONTEXT_XML_TEXT
|
|
string |
CONTEXT_XML_TAG
|
|
string |
CONTEXT_XML_ATTRIBUTE
|
|
string |
CONTEXT_XML_COMMENT
|
|
string |
CONTEXT_XML_BOGUS_COMMENT
|