getInvokingContext method
Implementation
ParserRuleContext? getInvokingContext(int ruleIndex) {
var p = context;
while (p != null) {
if (p.ruleIndex == ruleIndex) return p;
p = p.parent;
}
return null;
}
ParserRuleContext? getInvokingContext(int ruleIndex) {
var p = context;
while (p != null) {
if (p.ruleIndex == ruleIndex) return p;
p = p.parent;
}
return null;
}