Phan\Plugin::preAnalyzeNode PHP Method

preAnalyzeNode() abstract 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.
abstract public preAnalyzeNode ( CodeBase $code_base, Context $context, ast\Node $node ) : void
$code_base 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. The parent node of the given node (if one exists).
return void
    public abstract function preAnalyzeNode(CodeBase $code_base, Context $context, Node $node);