You are here

public function Twig_Tests_EnvironmentTest_TokenParser::parse in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php \Twig_Tests_EnvironmentTest_TokenParser::parse()

Parses a token and returns a node.

Parameters

Twig_Token $token A Twig_Token instance:

Return value

Twig_NodeInterface A Twig_NodeInterface instance

Throws

Twig_Error_Syntax

Overrides Twig_TokenParserInterface::parse

File

vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php, line 277

Class

Twig_Tests_EnvironmentTest_TokenParser

Code

public function parse(Twig_Token $token) {
}