parseNodeInContext()
public static method
Parse the given node in the given context populating
the code base within the context as a side effect. The
returned context is the new context from within the
given node.
public static parseNodeInContext ( CodeBase $code_base, Context $context, ast\Node $node ) : Context |
$code_base |
CodeBase |
The global code base in which we store all
state |
$context |
Phan\Language\Context |
The context in which this node exists |
$node |
ast\Node |
A node to parse and scan for errors |
return |
Phan\Language\Context |
The context from within the node is returned |