ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Represents a module node. More...
Public Member Functions | |
__construct (Twig_NodeInterface $body, Twig_Node_Expression $parent=null, Twig_NodeInterface $blocks, Twig_NodeInterface $macros, Twig_NodeInterface $traits, $embeddedTemplates, $name, $source='') | |
setIndex ($index) | |
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 () | |
Protected Member Functions | |
compileTemplate (Twig_Compiler $compiler) | |
compileGetParent (Twig_Compiler $compiler) | |
compileClassHeader (Twig_Compiler $compiler) | |
compileConstructor (Twig_Compiler $compiler) | |
compileDisplay (Twig_Compiler $compiler) | |
compileClassFooter (Twig_Compiler $compiler) | |
compileMacros (Twig_Compiler $compiler) | |
compileGetTemplateName (Twig_Compiler $compiler) | |
compileIsTraitable (Twig_Compiler $compiler) | |
compileDebugInfo (Twig_Compiler $compiler) | |
compileGetSource (Twig_Compiler $compiler) | |
compileGetSourceContext (Twig_Compiler $compiler) | |
compileLoadTemplate (Twig_Compiler $compiler, $node, $var) | |
Private Attributes | |
$source | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_Node | |
$nodes | |
$attributes | |
$lineno | |
$tag | |
Represents a module node.
Consider this class as being final. If you need to customize the behavior of the generated class, consider adding nodes to the following nodes: display_start, display_end, constructor_start, constructor_end, and class_end.
Definition at line 22 of file Module.php.
Twig_Node_Module::__construct | ( | Twig_NodeInterface | $body, |
Twig_Node_Expression | $parent = null , |
||
Twig_NodeInterface | $blocks, | ||
Twig_NodeInterface | $macros, | ||
Twig_NodeInterface | $traits, | ||
$embeddedTemplates, | |||
$name, | |||
$source = '' |
|||
) |
Definition at line 26 of file Module.php.
References Twig_Node\$name, Twig_Node\$nodes, $source, array, and Twig_Node\setTemplateName().
Twig_Node_Module::compile | ( | Twig_Compiler | $compiler | ) |
Compiles the node to PHP.
Implements Twig_NodeInterface.
Definition at line 69 of file Module.php.
References $template, compileTemplate(), Twig_Node\getAttribute(), and Twig_Compiler\subcompile().
|
protected |
Definition at line 322 of file Module.php.
References Twig_Node\getNode(), and Twig_Compiler\subcompile().
Referenced by compileTemplate().
|
protected |
Definition at line 153 of file Module.php.
References Twig_Node\getAttribute(), Twig_Compiler\getEnvironment(), and Twig_Compiler\write().
Referenced by compileTemplate().
|
protected |
Definition at line 166 of file Module.php.
References $i, $key, Twig_Node\$name, Twig_Compiler\addDebugInfo(), compileLoadTemplate(), Twig_Node\count(), Twig_Node\getNode(), Twig_Node\hasNode(), Twig_Compiler\indent(), Twig_Compiler\outdent(), and Twig_Compiler\write().
Referenced by compileTemplate().
|
protected |
Definition at line 401 of file Module.php.
References Twig_Compiler\getDebugInfo(), and Twig_Compiler\write().
Referenced by compileTemplate().
|
protected |
Definition at line 295 of file Module.php.
References Twig_Compiler\addDebugInfo(), Twig_Node\getNode(), Twig_Node\hasNode(), Twig_Compiler\raw(), Twig_Compiler\subcompile(), and Twig_Compiler\write().
Referenced by compileTemplate().
|
protected |
Definition at line 118 of file Module.php.
References Twig_Node\getNode(), Twig_Node\hasNode(), Twig_Compiler\raw(), Twig_Compiler\subcompile(), and Twig_Compiler\write().
Referenced by compileTemplate().
|
protected |
Definition at line 412 of file Module.php.
References Twig_Compiler\write().
Referenced by compileTemplate().
|
protected |
Definition at line 426 of file Module.php.
References Twig_Compiler\getEnvironment(), and Twig_Compiler\write().
Referenced by compileTemplate().
|
protected |
Definition at line 336 of file Module.php.
References Twig_Compiler\write().
Referenced by compileTemplate().
|
protected |
Definition at line 349 of file Module.php.
References Twig_Node\$nodes, array, Twig_Node\count(), Twig_Node\getNode(), Twig_Node\hasNode(), and Twig_Compiler\write().
Referenced by compileTemplate().
|
protected |
Definition at line 443 of file Module.php.
References Twig_Compiler\write().
Referenced by compileConstructor().
|
protected |
Definition at line 331 of file Module.php.
References Twig_Node\getNode(), and Twig_Compiler\subcompile().
Referenced by compileTemplate().
|
protected |
Definition at line 78 of file Module.php.
References compileClassFooter(), compileClassHeader(), compileConstructor(), compileDebugInfo(), compileDisplay(), compileGetParent(), compileGetSource(), compileGetSourceContext(), compileGetTemplateName(), compileIsTraitable(), compileMacros(), Twig_Node\count(), Twig_Node\getAttribute(), Twig_Node\getNode(), Twig_Node\hasNode(), Twig_Compiler\subcompile(), and Twig_Compiler\write().
Referenced by compile().
Twig_Node_Module::setIndex | ( | $index | ) |
Definition at line 64 of file Module.php.
References $index, and Twig_Node\setAttribute().
Referenced by Twig_Parser\embedTemplate().
|
private |
Definition at line 24 of file Module.php.
Referenced by __construct().