Parses a token and returns a node.
Parameters
Twig_Token $token A Twig_Token instance:
Return value
Twig_NodeInterface A Twig_NodeInterface instance
File
- drupal/core/vendor/twig/twig/lib/Twig/TokenParserInterface.php, line 33
Class
- Twig_TokenParserInterface
- Interface implemented by token parsers.
Code
public function parse(Twig_Token $token);