Class PhpParser\Node\Expr\Error

extends Expr

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).

Methods
Methods inherited from PhpParser\NodeAbstract
getLine(), getStartLine(), getEndLine(), getStartTokenPos(), getEndTokenPos(), getStartFilePos(), getEndFilePos(), getComments(), getDocComment(), setDocComment(), setAttribute(), hasAttribute(), getAttribute(), getAttributes(), setAttributes(), jsonSerialize()
Properties inherited from PhpParser\NodeAbstract
$attributes