Method | Description | |
---|---|---|
__construct ( array $nodes ) | ||
convert ( array $nodes ) : |
Converts the supplied php parser nodes to an equivalent expression tree. | |
getExpressions ( ) : |
Parses the nodes into the equivalent expression tree | |
parseExpressionNode ( PhpParser\Node\Expr $node ) |
|
|
parseNameNode ( $node ) : |
Method | Description | |
---|---|---|
parseAbsoluteName ( |
||
parseNode ( PhpParser\Node $node ) : |
Method | Description | |
---|---|---|
parseArgumentNode ( PhpParser\Node\Arg $node ) | ||
parseArrayNode ( PhpParser\Node\Expr\Array_ $node ) | ||
parseClosureNode ( |
||
parseFunctionCallNode ( PhpParser\Node\Expr\FuncCall $node ) | ||
parseNodes ( array $nodes ) : |
||
parseOperatorNode ( PhpParser\Node\Expr $node ) |
|
|
parseParameterNode ( |
||
parseScalarNode ( PhpParser\Node\Scalar $node ) | ||
parseStatementNode ( PhpParser\Node\Stmt $node ) |
|
|
parseTernaryNode ( PhpParser\Node\Expr\Ternary $node ) | ||
verifyNotControlStructure ( PhpParser\Node\Stmt $node ) |
public getExpressions ( ) : |
||
return |
protected parseAbsoluteName ( |
||
$node |
public parseExpressionNode ( PhpParser\Node\Expr $node ) | ||
$node | PhpParser\Node\Expr |
final public parseNameNode ( $node ) : |
||
$node | ||
return |
protected parseNode ( PhpParser\Node $node ) : |
||
$node | PhpParser\Node | |
return |