getLine(); $oStream = $this->parser->getStream(); $oParams = $this->parser->getExpressionParser()->parseExpression(); $oStream->expect(Token::BLOCK_END_TYPE); $oBody = $this->parser->subparse([$this, 'decideForEnd'], true); $oStream->expect(Token::BLOCK_END_TYPE); return new UIFormNode($oParams, $oBody, $iLineno, $this->getTag()); } /** * @inheritDoc */ public function getTag() { return 'UIForm'; } public function decideForEnd(Token $token) { return $token->test('EndUIForm'); } }