Error node used during parsing with error recovery.
An error node may be placed at a position where an expression is required, but an error occurred. Error nodes will not be present if the parser is run in throwOnError mode (the default).
CloneableInstantiable
- Extends
- Implements
JsonSerializable PhpParser \Node
| Methods |
| public __construct(array $attributes = []) Constructs an error node.
|
| public getSubNodeNames() : array |
| public getType() : string |
| Properties |