currentUnit property

RuleContextUnit? get currentUnit

The compilation unit being analyzed.

null when a unit is not currently being analyzed (for example when node processors are being registered).

Implementation

RuleContextUnit? get currentUnit;