메소드 | 설명 | |
---|---|---|
__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 ) : |
메소드 | 설명 | |
---|---|---|
parseAbsoluteName ( |
||
parseNode ( PhpParser\Node $node ) : |
메소드 | 설명 | |
---|---|---|
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 ( ) : |
||
리턴 |
public parseExpressionNode ( PhpParser\Node\Expr $node ) | ||
$node | PhpParser\Node\Expr |
final public parseNameNode ( $node ) : |
||
$node | ||
리턴 |
protected parseNode ( PhpParser\Node $node ) : |
||
$node | PhpParser\Node | |
리턴 |