Phan\Analysis\PostOrderAnalysisVisitor::__construct PHP Method

__construct() public method

public __construct ( CodeBase $code_base, Context $context, ast\Node $parent_node = null )
$code_base Phan\CodeBase A code base needs to be passed in because we require it to be initialized before any classes or files are loaded.
$context Phan\Language\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;
    }