TYPO3
7.6
|
Public Member Functions | |
evaluateChildNodes (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) | |
getChildNodes () | |
addChildNode (\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface $childNode) | |
Public Member Functions inherited from NodeInterface | |
evaluate (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) | |
Protected Attributes | |
$childNodes = array() | |
Abstract node in the syntax tree which has been built.
Definition at line 17 of file fluid/Classes/Core/Parser/SyntaxTree/AbstractNode.php.
addChildNode | ( | \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface | $childNode | ) |
Appends a subnode to this node. Is used inside the parser to append children
\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface | $childNode | The subnode to add |
Implements NodeInterface.
Definition at line 80 of file fluid/Classes/Core/Parser/SyntaxTree/AbstractNode.php.
evaluateChildNodes | ( | \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface | $renderingContext | ) |
Evaluate all child nodes and return the evaluated results.
\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface | $renderingContext |
\TYPO3\CMS\Fluid\Core\Parser\Exception |
Implements NodeInterface.
Definition at line 33 of file fluid/Classes/Core/Parser/SyntaxTree/AbstractNode.php.
Referenced by RootNode\evaluate(), and TextNode\evaluate().
getChildNodes | ( | ) |
Returns all child nodes for a given node. This is especially needed to implement the boolean expression language.
Implements NodeInterface.
Definition at line 69 of file fluid/Classes/Core/Parser/SyntaxTree/AbstractNode.php.
References AbstractNode\$childNodes.
|
protected |
Definition at line 24 of file fluid/Classes/Core/Parser/SyntaxTree/AbstractNode.php.
Referenced by BooleanNode\__construct(), and AbstractNode\getChildNodes().