obj method
Implementation
ObjContext obj() {
dynamic _localctx = ObjContext(context, state);
enterRule(_localctx, 2, RULE_obj);
int _la;
try {
state = 26;
errorHandler.sync(this);
switch (interpreter!.adaptivePredict(tokenStream, 1, context)) {
case 1:
enterOuterAlt(_localctx, 1);
state = 13;
match(TOKEN_T__0);
state = 14;
pair();
state = 19;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
while (_la == TOKEN_T__1) {
state = 15;
match(TOKEN_T__1);
state = 16;
pair();
state = 21;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
}
state = 22;
match(TOKEN_T__2);
break;
case 2:
enterOuterAlt(_localctx, 2);
state = 24;
match(TOKEN_T__0);
state = 25;
match(TOKEN_T__2);
break;
}
} on RecognitionException catch (re) {
_localctx.exception = re;
errorHandler.reportError(this, re);
errorHandler.recover(this, re);
} finally {
exitRule();
}
return _localctx;
}