getLine(); $expr = null; if (!$this->parser->getStream()->test(Twig_Token::BLOCK_END_TYPE)) { $expr = $this->parser->getExpressionParser()->parseExpression(); } $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE); return new Twig_Extensions_Node_Debug($expr, $lineno, $this->getTag()); } /** * Gets the tag name associated with this token parser. * * @param string The tag name */ public function getTag() { return 'debug'; } }