ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Twig_Tests_EnvironmentTest_TokenParser Class Reference
+ Inheritance diagram for Twig_Tests_EnvironmentTest_TokenParser:
+ Collaboration diagram for Twig_Tests_EnvironmentTest_TokenParser:

Public Member Functions

 parse (Twig_Token $token)
 Parses a token and returns a node. More...
 
 getTag ()
 Gets the tag name associated with this token parser. More...
 
- Public Member Functions inherited from Twig_TokenParser
 setParser (Twig_Parser $parser)
 Sets the parser associated with this token parser. More...
 
 setParser (Twig_Parser $parser)
 Sets the parser associated with this token parser. More...
 
 parse (Twig_Token $token)
 Parses a token and returns a node. More...
 
 getTag ()
 Gets the tag name associated with this token parser. More...
 

Additional Inherited Members

- Protected Attributes inherited from Twig_TokenParser
 $parser
 

Detailed Description

Definition at line 615 of file EnvironmentTest.php.

Member Function Documentation

◆ getTag()

Twig_Tests_EnvironmentTest_TokenParser::getTag ( )

Gets the tag name associated with this token parser.

Returns
string The tag name

Implements Twig_TokenParserInterface.

Definition at line 621 of file EnvironmentTest.php.

622 {
623 return 'test';
624 }

◆ parse()

Twig_Tests_EnvironmentTest_TokenParser::parse ( Twig_Token  $token)

Parses a token and returns a node.

Returns
Twig_NodeInterface
Exceptions
Twig_Error_Syntax

Implements Twig_TokenParserInterface.

Definition at line 617 of file EnvironmentTest.php.

618 {
619 }

The documentation for this class was generated from the following file: