Méthode | 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 ) : |
Méthode | Description | |
---|---|---|
parseAbsoluteName ( |
||
parseNode ( PhpParser\Node $node ) : |
Méthode | 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 ( ) : |
||
Résultat |
protected parseAbsoluteName ( |
||
$node |
public parseExpressionNode ( PhpParser\Node\Expr $node ) | ||
$node | PhpParser\Node\Expr |
final public parseNameNode ( $node ) : |
||
$node | ||
Résultat |
protected parseNode ( PhpParser\Node $node ) : |
||
$node | PhpParser\Node | |
Résultat |