Phan\Plugin\PluginImplementation::preAnalyzeNode PHP Method

preAnalyzeNode() public method

Do a first-pass analysis of a node before Phan does its full analysis. This hook allows you to update types in the CodeBase before analysis happens.
public preAnalyzeNode ( CodeBase $code_base, Context $context, ast\Node $node ) : void
$code_base Phan\CodeBase The code base in which the node exists
$context Phan\Language\Context The context in which the node exits. This is the context inside the given node rather than the context outside of the given node
$node ast\Node The php-ast Node being analyzed.
return void
    public function preAnalyzeNode(CodeBase $code_base, Context $context, Node $node)
    {
    }