PHP Class PhpParser\Node\Expr\Error

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).
Inheritance: extends PhpParser\Node\Expr
Show file Open project: nikic/php-parser

Public Methods

Method Description
__construct ( array $attributes = [] ) Constructs an error node.
getSubNodeNames ( )

Method Details

__construct() public method

Constructs an error node.
public __construct ( array $attributes = [] )
$attributes array Additional attributes

getSubNodeNames() public method

public getSubNodeNames ( )