Abstract Class Twig_Node_Expression

InheritanceTwig_Node_Expression » Twig_Node
ImplementsTwig_NodeInterface
SubclassesTwig_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

Abstract class for all nodes that represents an expression.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$attributes Twig_Node
$lineno Twig_Node
$nodes Twig_Node
$tag Twig_Node

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Constructor. Twig_Node
__toString() Twig_Node
compile() Compiles the node to PHP. Twig_NodeInterface
count() Twig_Node
getAttribute() Gets an attribute value by name. Twig_Node
getFilename() Twig_Node
getIterator() Twig_Node
getLine() Twig_NodeInterface
getNode() Gets a node by name. Twig_Node
getNodeTag() Twig_NodeInterface
hasAttribute() Returns true if the attribute is defined. Twig_Node
hasNode() Returns true if the node with the given name exists. Twig_Node
removeAttribute() Removes an attribute by name. Twig_Node
removeNode() Removes a node by name. Twig_Node
setAttribute() Sets an attribute by name to a value. Twig_Node
setFilename() Twig_Node
setNode() Sets a node. Twig_Node
toXml() Twig_Node