ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Twig_ParserInterface Interface Reference

Interface implemented by parser classes. More...

+ Inheritance diagram for Twig_ParserInterface:
+ Collaboration diagram for Twig_ParserInterface:

Public Member Functions

 parse (Twig_TokenStream $stream)
 Converts a token stream to a node tree. More...
 

Detailed Description

Interface implemented by parser classes.

Author
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Deprecated:
since 1.12 (to be removed in 3.0)

Definition at line 19 of file ParserInterface.php.

Member Function Documentation

◆ parse()

Twig_ParserInterface::parse ( Twig_TokenStream  $stream)

Converts a token stream to a node tree.

Returns
Twig_Node_Module
Exceptions
Twig_Error_SyntaxWhen the token stream is syntactically or semantically wrong

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