ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Represents a macro node. More...
Public Member Functions | |
__construct ($name, Twig_NodeInterface $body, Twig_NodeInterface $arguments, $lineno, $tag=null) | |
compile (Twig_Compiler $compiler) | |
Compiles the node to PHP. More... | |
Public Member Functions inherited from Twig_Node | |
__construct (array $nodes=array(), array $attributes=array(), $lineno=0, $tag=null) | |
Constructor. More... | |
__toString () | |
toXml ($asDom=false) | |
compile (Twig_Compiler $compiler) | |
Compiles the node to PHP. More... | |
getTemplateLine () | |
getLine () | |
getNodeTag () | |
hasAttribute ($name) | |
getAttribute ($name) | |
setAttribute ($name, $value) | |
removeAttribute ($name) | |
hasNode ($name) | |
getNode ($name) | |
setNode ($name, $node=null) | |
removeNode ($name) | |
count () | |
getIterator () | |
setTemplateName ($name) | |
getTemplateName () | |
setFilename ($name) | |
getFilename () | |
Data Fields | |
const | VARARGS_NAME = 'varargs' |
Additional Inherited Members | |
Protected Attributes inherited from Twig_Node | |
$nodes | |
$attributes | |
$lineno | |
$tag | |
Twig_Node_Macro::__construct | ( | $name, | |
Twig_NodeInterface | $body, | ||
Twig_NodeInterface | $arguments, | ||
$lineno, | |||
$tag = null |
|||
) |
Definition at line 21 of file Macro.php.
References Twig_Node\$lineno, Twig_Node\$name, Twig_Node\$tag, and array.
Twig_Node_Macro::compile | ( | Twig_Compiler | $compiler | ) |
Compiles the node to PHP.
Implements Twig_NodeInterface.
Definition at line 32 of file Macro.php.
References Twig_Node\$name, Twig_Compiler\addDebugInfo(), Twig_Node\count(), Twig_Node\getAttribute(), Twig_Node\getNode(), Twig_Compiler\outdent(), Twig_Compiler\raw(), and Twig_Compiler\write().