|
Jobbuddy
|
Fonctions membres publiques | |
| __construct (array $nodes=[], array $attributes=[], int $lineno=0) | |
| __toString () | |
| __clone () | |
| compile (Compiler $compiler) | |
| getTemplateLine () | |
| getNodeTag () | |
| setNodeTag (string $tag) | |
| hasAttribute (string $name) | |
| getAttribute (string $name) | |
| setAttribute (string $name, $value) | |
| deprecateAttribute (string $name, NameDeprecation $dep) | |
| removeAttribute (string $name) | |
| hasNode (string $name) | |
| getNode (string $name) | |
| setNode (string $name, self $node) | |
| removeNode (string $name) | |
| deprecateNode (string $name, NameDeprecation $dep) | |
| count () | |
| getIterator () | |
| getTemplateName () | |
| setSourceContext (Source $source) | |
| getSourceContext () | |
Attributs protégés | |
| $nodes | |
| $attributes | |
| $lineno | |
| $tag | |
Represents a node in the AST.
<int|string, Node>
| __construct | ( | array | $nodes = [], |
| array | $attributes = [], | ||
| int | $lineno = 0 ) |
| array<string|int,Node> | $nodes An array of named nodes | |
| array | $attributes | An array of attributes (should not be nodes) |
| int | $lineno | The line number |
| compile | ( | Compiler | $compiler | ) |
Réimplémentée dans AutoEscapeNode, BlockNode, BlockReferenceNode, CaptureNode, CheckSecurityCallNode, CheckSecurityNode, CheckToStringNode, DeprecatedNode, DoNode, ArrayExpression, ArrowFunctionExpression, AssignNameExpression, AbstractBinary, ElvisBinary, EndsWithBinary, EqualBinary, FloorDivBinary, GreaterBinary, GreaterEqualBinary, HasEveryBinary, HasSomeBinary, InBinary, LessBinary, LessEqualBinary, MatchesBinary, NotEqualBinary, NotInBinary, NullCoalesceBinary, RangeBinary, StartsWithBinary, BlockReferenceExpression, ConditionalExpression, ConstantExpression, DefaultFilter, RawFilter, FilterExpression, FunctionExpression, EnumCasesFunction, EnumFunction, GetAttrExpression, InlinePrint, ListExpression, MacroReferenceExpression, MethodCallExpression, NameExpression, NullCoalesceExpression, ParentExpression, TempNameExpression, ConditionalTernary, ConstantTest, DefinedTest, DivisiblebyTest, EvenTest, NullTest, OddTest, SameasTest, TrueTest, TestExpression, AbstractUnary, TemplateVariable, VariadicExpression, FlushNode, ForElseNode, ForLoopNode, ForNode, IfNode, ImportNode, IncludeNode, SandboxNode, SetNode, TextNode, TypesNode, WithNode, EnterProfileNode, et LeaveProfileNode.
| count | ( | ) |
| deprecateNode | ( | string | $name, |
| NameDeprecation | $dep ) |
| string | int | $name |
| getNode | ( | string | $name | ) |
| string | int | $name |
| hasNode | ( | string | $name | ) |
| string | int | $name |
| removeNode | ( | string | $name | ) |
| string | int | $name |
| setNode | ( | string | $name, |
| self | $node ) |
| string | int | $name |