Method | Description | |
---|---|---|
__construct ( |
||
visitCall ( ast\Node $node ) : |
Visit a node with kind \ast\AST_CALL | |
visitClass ( ast\Node\Decl $node ) : |
Visit a node with kind \ast\AST_CLASS | |
visitClassConstDecl ( ast\Node $node ) : |
Visit a node with kind \ast\AST_CLASS_CONST_DECL | |
visitConstDecl ( ast\Node $node ) : |
Visit a node with kind \ast\AST_CONST | |
visitDeclare ( ast\Node $node ) : |
Visit a node with kind \ast\AST_DECLARE | |
visitEcho ( ast\Node $node ) : |
Visit a node with kind \ast\AST_ECHO | |
visitFuncDecl ( ast\Node\Decl $node ) : |
Visit a node with kind \ast\AST_FUNC_DECL | |
visitMethod ( ast\Node\Decl $node ) : |
Visit a node with kind \ast\AST_METHOD | |
visitMethodCall ( ast\Node $node ) : |
Visit a node with kind \ast\AST_METHOD_CALL | |
visitPrint ( ast\Node $node ) : |
Visit a node with kind \ast\AST_PRINT | |
visitPropDecl ( ast\Node $node ) : |
Visit a node with kind \ast\AST_PROP_DECL | |
visitReturn ( ast\Node $node ) : |
Visit a node with kind \ast\AST_RETURN | |
visitStaticCall ( ast\Node $node ) : |
Visit a node with kind \ast\AST_STATIC_CALL | |
visitUseTrait ( ast\Node $node ) : |
Visit a node with kind \ast\AST_USE_TRAIT |
Method | Description | |
---|---|---|
addConstant ( ast\Node $node, string $name, ast\Node | mixed $value, integer $flags ) : void | ||
getContextClass ( ) : |
public __construct ( |
||
$code_base | The global code base in which we store all state | |
$context | The context of the parser at the node for which we'd like to determine a type |
public visitCall ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitClass ( ast\Node\Decl $node ) : |
||
$node | ast\Node\Decl | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitClassConstDecl ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitConstDecl ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitDeclare ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitEcho ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitFuncDecl ( ast\Node\Decl $node ) : |
||
$node | ast\Node\Decl | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitMethod ( ast\Node\Decl $node ) : |
||
$node | ast\Node\Decl | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitMethodCall ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitPrint ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitPropDecl ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitReturn ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitStaticCall ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitUseTrait ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |