Interface Twig_NodeInterface

ExtendsCountable, IteratorAggregate
Implemented byTwig_Node, Twig_Node_AutoEscape, Twig_Node_Block, Twig_Node_BlockReference, Twig_Node_Body, Twig_Node_CheckSecurity, Twig_Node_Do, Twig_Node_Embed, Twig_Node_Expression, Twig_Node_Expression_Array, Twig_Node_Expression_AssignName, Twig_Node_Expression_Binary, Twig_Node_Expression_Binary_Add, Twig_Node_Expression_Binary_And, Twig_Node_Expression_Binary_BitwiseAnd, Twig_Node_Expression_Binary_BitwiseOr, Twig_Node_Expression_Binary_BitwiseXor, Twig_Node_Expression_Binary_Concat, Twig_Node_Expression_Binary_Div, Twig_Node_Expression_Binary_EndsWith, Twig_Node_Expression_Binary_Equal, Twig_Node_Expression_Binary_FloorDiv, Twig_Node_Expression_Binary_Greater, Twig_Node_Expression_Binary_GreaterEqual, Twig_Node_Expression_Binary_In, Twig_Node_Expression_Binary_Less, Twig_Node_Expression_Binary_LessEqual, Twig_Node_Expression_Binary_Matches, Twig_Node_Expression_Binary_Mod, Twig_Node_Expression_Binary_Mul, Twig_Node_Expression_Binary_NotEqual, Twig_Node_Expression_Binary_NotIn, Twig_Node_Expression_Binary_Or, Twig_Node_Expression_Binary_Power, Twig_Node_Expression_Binary_Range, Twig_Node_Expression_Binary_StartsWith, Twig_Node_Expression_Binary_Sub, Twig_Node_Expression_BlockReference, Twig_Node_Expression_Call, Twig_Node_Expression_Conditional, Twig_Node_Expression_Constant, Twig_Node_Expression_ExtensionReference, Twig_Node_Expression_Filter, Twig_Node_Expression_Filter_Default, Twig_Node_Expression_Function, Twig_Node_Expression_GetAttr, Twig_Node_Expression_MethodCall, Twig_Node_Expression_Name, Twig_Node_Expression_NullCoalesce, Twig_Node_Expression_Parent, Twig_Node_Expression_TempName, Twig_Node_Expression_Test, Twig_Node_Expression_Unary, Twig_Node_Expression_Unary_Neg, Twig_Node_Expression_Unary_Not, Twig_Node_Expression_Unary_Pos, Twig_Node_Flush, Twig_Node_For, Twig_Node_ForLoop, Twig_Node_If, Twig_Node_Import, Twig_Node_Include, Twig_Node_Macro, Twig_Node_Module, Twig_Node_Print, Twig_Node_Sandbox, Twig_Node_SandboxedPrint, Twig_Node_Set, Twig_Node_SetTemp, Twig_Node_Spaceless, Twig_Node_Text, Twig_Profiler_Node_EnterProfile, Twig_Profiler_Node_LeaveProfile
Deprecated since version since 1.12 (to be removed in 3.0)

Represents a node in the AST.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
compile() Compiles the node to PHP. Twig_NodeInterface
getLine() Twig_NodeInterface
getNodeTag() Twig_NodeInterface

Method Details

compile() public abstract method

Compiles the node to PHP.

public abstract void compile ( Twig_Compiler $compiler )
$compiler Twig_Compiler

A Twig_Compiler instance

getLine() public abstract method

public abstract void getLine ( )
getNodeTag() public abstract method

public abstract void getNodeTag ( )