Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def operationParameterSymbol(self, i:int=None):
if i is None:
return self.getTypedRuleContexts(TParser.OperationParameterSymbolContext)
else:
return self.getTypedRuleContext(TParser.OperationParameterSymbolContext,i)
def operationParameterSymbol(self):
localctx = TParser.OperationParameterSymbolContext(self, self._ctx, self.state)
self.enterRule(localctx, 24, self.RULE_operationParameterSymbol)
self._la = 0 # Token type
try:
self.enterOuterAlt(localctx, 1)
self.state = 198
self.typeSymbol()
self.state = 199
localctx.name = self.match(TParser.IDENTIFIER)
self.state = 201
self._errHandler.sync(self)
_la = self._input.LA(1)
if _la==TParser.T__13:
self.state = 200
self.match(TParser.T__13)
def operationParameterSymbol(self, i:int=None):
if i is None:
return self.getTypedRuleContexts(TParser.OperationParameterSymbolContext)
else:
return self.getTypedRuleContext(TParser.OperationParameterSymbolContext,i)