def method
Implementation
DefContext def() {
dynamic _localctx = DefContext(context, state);
enterRule(_localctx, 56, RULE_def);
int _la;
try {
enterOuterAlt(_localctx, 1);
state = 249;
match(TOKEN_T__38);
state = 250;
idType();
state = 251;
match(TOKEN_T__39);
state = 252;
dataType();
state = 256;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
while (_la == TOKEN_T__29) {
state = 253;
match(TOKEN_T__29);
state = 258;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
}
} on RecognitionException catch (re) {
_localctx.exception = re;
errorHandler.reportError(this, re);
errorHandler.recover(this, re);
} finally {
exitRule();
}
return _localctx;
}