<?phpdeclare(strict_types=1);namespacePhpParser\Node\Expr;usePhpParser\Node\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). */classErrorextendsExpr{/** * Constructs an error node. * * @param array $attributes Additional attributes */publicfunction__construct(array$attributes=[]){parent::__construct($attributes);}publicfunctiongetSubNodeNames():array{return[];}publicfunctiongetType():string{return'Expr_Error';}}