Method | Description | |
---|---|---|
__construct ( |
||
visit ( ast\Node $node ) : |
Default visitor for node kinds that do not have an overriding method | |
visitBinaryOp ( ast\Node $node ) : |
||
visitCall ( ast\Node $node ) : |
Look at elements of the form is_array($v) and modify the type of the variable. | |
visitCoalesce ( ast\Node $node ) : |
||
visitEmpty ( ast\Node $node ) : |
||
visitInstanceof ( ast\Node $node ) : |
||
visitIsset ( ast\Node $node ) : |
||
visitUnaryOp ( ast\Node $node ) : |
public __construct ( |
||
$code_base | A code base needs to be passed in because we require it to be initialized before any classes or files are loaded. | |
$context | The context of the parser at the node for which we'd like to determine a type |
public visit ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitBinaryOp ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
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 visitCoalesce ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitEmpty ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitInstanceof ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitIsset ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |
public visitUnaryOp ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
return | A new or an unchanged context resulting from parsing the node |