ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Twig_Extensions_Grammar_Expression Class Reference
+ Inheritance diagram for Twig_Extensions_Grammar_Expression:
+ Collaboration diagram for Twig_Extensions_Grammar_Expression:

Public Member Functions

 __toString ()
 
 parse (Twig_Token $token)
 
- Public Member Functions inherited from Twig_Extensions_Grammar
 __construct ($name)
 
 setParser (Twig_Parser $parser)
 
 getName ()
 

Additional Inherited Members

- Protected Attributes inherited from Twig_Extensions_Grammar
 $name
 
 $parser
 

Detailed Description

Deprecated:
since version 1.5

Definition at line 15 of file Expression.php.

Member Function Documentation

◆ __toString()

Twig_Extensions_Grammar_Expression::__toString ( )

Definition at line 17 of file Expression.php.

18  {
19  return sprintf('<%s>', $this->name);
20  }

◆ parse()

Twig_Extensions_Grammar_Expression::parse ( Twig_Token  $token)

Implements Twig_Extensions_GrammarInterface.

Definition at line 22 of file Expression.php.

23  {
24  return $this->parser->getExpressionParser()->parseExpression();
25  }

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