MCPcopy
hub / github.com/antlr/antlr4 / arg

Method arg

runtime/Python3/tests/expr/ExprParser.py:311–325  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

309
310
311 def arg(self):
312
313 localctx = ExprParser.ArgContext(self, self._ctx, self.state)
314 self.enterRule(localctx, 6, self.RULE_arg)
315 try:
316 self.enterOuterAlt(localctx, 1)
317 self.state = 41
318 self.match(ExprParser.ID)
319 except RecognitionException as re:
320 localctx.exception = re
321 self._errHandler.reportError(self, re)
322 self._errHandler.recover(self, re)
323 finally:
324 self.exitRule()
325 return localctx
326
327
328 class StatContext(ParserRuleContext):

Callers 1

funcMethod · 0.95

Calls 6

reportErrorMethod · 0.65
recoverMethod · 0.65
enterRuleMethod · 0.45
enterOuterAltMethod · 0.45
matchMethod · 0.45
exitRuleMethod · 0.45

Tested by

no test coverage detected