def method
Implementation
DefContext def() {
dynamic _localctx = DefContext(context, state);
enterRule(_localctx, 56, RULE_def);
int _la;
try {
enterOuterAlt(_localctx, 1);
state = 261;
match(TOKEN_T__37);
state = 262;
idType();
state = 263;
match(TOKEN_T__38);
state = 264;
dataType();
state = 268;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
while (_la == TOKEN_T__28) {
state = 265;
match(TOKEN_T__28);
state = 270;
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;
}