* @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\template\twig\tokenparser; class includejs extends \Twig_TokenParser { /** * Parses a token and returns a node. * * @param \Twig_Token $token A Twig_Token instance * * @return \Twig_NodeInterface A Twig_NodeInterface instance */ public function parse(\Twig_Token $token) { $expr = $this->parser->getExpressionParser()->parseExpression(); $stream = $this->parser->getStream(); $stream->expect(\Twig_Token::BLOCK_END_TYPE); return new \phpbb\template\twig\node\includejs($expr, $this->parser->getEnvironment(), $token->getLine(), $this->getTag()); } /** * Gets the tag name associated with this token parser. * * @return string The tag name */ public function getTag() { return 'INCLUDEJS'; } } /doc/'>summaryrefslogtreecommitdiffstats
path: root/mcc/7/pt_br/content/images
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-11-10 13:03:01 +0100
committerPapoteur <papoteur@mageia.org>2023-11-10 13:03:01 +0100
commit03248c292f3024b82930b7937ad0b474b87b108a (patch)
treed222a077504e7b990ba8a25c17f05ac7d4feffa5 /mcc/7/pt_br/content/images
parent697add17591e06cd1954e52c2a04a21e609e2c23 (diff)
downloaddoc-master.tar
doc-master.tar.gz
doc-master.tar.bz2
doc-master.tar.xz
doc-master.zip