2 namespace TYPO3\CMS\Fluid\Core\Parser;
83 public function render(\TYPO3\CMS\
Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
85 return $this->rootNode->evaluate($renderingContext);
97 array_push($this->nodeStack, $node);
107 return $this->nodeStack[count($this->nodeStack) - 1];
117 return array_pop($this->nodeStack);
127 return count($this->nodeStack);
166 return $this->layoutNameNode !== null;
178 public function getLayoutName(\TYPO3\CMS\
Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
183 $layoutName = $this->layoutNameNode->evaluate($renderingContext);
184 if (!empty($layoutName)) {
187 throw new \TYPO3\CMS\Fluid\View\Exception(
'The layoutName could not be evaluated to a string', 1296805368);