Node
class Node (View source)
This class describes a single node in a PHP AST.
Properties
array | $children | ||
int | $endLineno | ||
int | $flags | ||
int | $kind | ||
int | $lineno |
Methods
__construct(int|null $kind = null, int|null $flags = null, array|null $children = null, int|null $lineno = null)
A constructor which accepts any types for the properties.
Details
__construct(int|null $kind = null, int|null $flags = null, array|null $children = null, int|null $lineno = null)
A constructor which accepts any types for the properties.
For backwards compatibility reasons, all values are optional and can be any type, and properties default to null.