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 | |
$parent_node | ast\Node | The parent node of the node being analyzed |
public function __construct(CodeBase $code_base, Context $context, Node $parent_node = null)
{
parent::__construct($code_base, $context);
$this->parent_node = $parent_node;
}