ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Twig_NodeInterface Interface Reference

Represents a node in the AST. More...

+ Inheritance diagram for Twig_NodeInterface:
+ Collaboration diagram for Twig_NodeInterface:

Public Member Functions

 compile (Twig_Compiler $compiler)
 Compiles the node to PHP. More...
 
 getLine ()
 
 getNodeTag ()
 

Detailed Description

Represents a node in the AST.

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 NodeInterface.php.

Member Function Documentation

◆ compile()

Twig_NodeInterface::compile ( Twig_Compiler  $compiler)

Compiles the node to PHP.

Implemented in Twig_Node, Twig_Node_Module, Twig_Node_Expression_Array, Twig_Node_Expression_Test_Defined, Twig_Node_Expression_BlockReference, Twig_Node_Expression_Filter_Default, Twig_Node_Set, Twig_Extensions_Node_Trans, Twig_Node_For, Twig_Node_Macro, Twig_Node_AutoEscape, Twig_Node_CheckSecurity, Twig_Node_If, Twig_Node_Include, Twig_Node_With, Twig_Node_Expression_ExtensionReference, Twig_Node_Spaceless, Twig_Node_Block, Twig_Node_BlockReference, Twig_Node_Expression_Name, Twig_Node_Expression_Parent, Twig_Node_Expression_Test_Constant, Twig_Node_Print, Twig_Node_Text, Twig_Node_Do, Twig_Node_Expression_GetAttr, Twig_Node_Expression_NullCoalesce, Twig_Node_Flush, Twig_Node_ForLoop, Twig_Node_Import, Twig_Node_Sandbox, Twig_Node_SandboxedPrint, Twig_Profiler_Node_EnterProfile, Twig_Profiler_Node_LeaveProfile, Twig_Node_Expression_Test_Divisibleby, Twig_Node_Expression_Test_Even, Twig_Node_Expression_Test_Null, Twig_Node_Expression_Test_Odd, Twig_Node_Expression_Test, Twig_Node_Expression_MethodCall, Twig_Node_SetTemp, Twig_Node_Expression_Binary, Twig_Node_Expression_Conditional, Twig_Node_Expression_Constant, Twig_Node_Expression_Filter, Twig_Node_Expression_Test_Sameas, Twig_Node_Expression_Unary, Twig_Node_Expression_Function, Twig_Node_Expression_TempName, Twig_Node_Expression_AssignName, Twig_Node_Expression_Binary_EndsWith, Twig_Node_Expression_Binary_FloorDiv, Twig_Node_Expression_Binary_In, Twig_Node_Expression_Binary_Matches, Twig_Node_Expression_Binary_NotIn, Twig_Node_Expression_Binary_Power, Twig_Node_Expression_Binary_Range, and Twig_Node_Expression_Binary_StartsWith.

Referenced by Twig_Compiler\compile(), and Twig_Compiler\subcompile().

+ Here is the caller graph for this function:

◆ getLine()

Twig_NodeInterface::getLine ( )
Deprecated:
since 1.27 (to be removed in 2.0)

Implemented in Twig_Node.

◆ getNodeTag()

Twig_NodeInterface::getNodeTag ( )

Implemented in Twig_Node.


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