$requirementAnalyser
$requirementAnalyser : \Pvra\Analyser
The `Analyser` representing the currently running operation.
Class Php56Features
Supported syntax detection:
**
(pow) operatoruse
$requirementAnalyser : \Pvra\Analyser
The `Analyser` representing the currently running operation.
__construct(\Pvra\Analyser $requirementAnalyser = null)
Create an instance of the child Analyser
It is optional to set the related analyser during instance creation.
When using this class in the context of an Analyser
it will always be ensured
that this Analyser
will be known to the instance before any node is traversed.
\Pvra\Analyser | $requirementAnalyser |
setOwningAnalyser(\Pvra\Analyser $requirementAnalyser)
\Pvra\Analyser | $requirementAnalyser |
enterNode(\PhpParser\Node $node) : null|\PhpParser\Node
Called when entering a source node
This method is called when a source node is entered. Contained logic determines the presence of specific syntactical features.
\PhpParser\Node | $node |
The nodes should not be modified as other walkers might depend on it.
getResult() : \Pvra\AnalysisResult
Get the instance of the currently used `Pvra\AnalysisResult`.