funcType method
Implementation
FuncTypeContext funcType() {
dynamic _localctx = FuncTypeContext(context, state);
enterRule(_localctx, 28, RULE_funcType);
int _la;
try {
enterOuterAlt(_localctx, 1);
state = 105;
tupleType();
state = 106;
match(TOKEN_T__21);
state = 107;
tupleType();
state = 109;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
if (_la == TOKEN_T__19 || _la == TOKEN_T__20) {
state = 108;
funcAnn();
}
} on RecognitionException catch (re) {
_localctx.exception = re;
errorHandler.reportError(this, re);
errorHandler.recover(this, re);
} finally {
exitRule();
}
return _localctx;
}