arr method
Implementation
ArrContext arr() {
dynamic _localctx = ArrContext(context, state);
enterRule(_localctx, 6, RULE_arr);
int _la;
try {
state = 45;
errorHandler.sync(this);
switch (interpreter!.adaptivePredict(tokenStream, 3, context)) {
case 1:
enterOuterAlt(_localctx, 1);
state = 32;
match(TOKEN_T__4);
state = 33;
value();
state = 38;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
while (_la == TOKEN_T__1) {
state = 34;
match(TOKEN_T__1);
state = 35;
value();
state = 40;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
}
state = 41;
match(TOKEN_T__5);
break;
case 2:
enterOuterAlt(_localctx, 2);
state = 43;
match(TOKEN_T__4);
state = 44;
match(TOKEN_T__5);
break;
}
} on RecognitionException catch (re) {
_localctx.exception = re;
errorHandler.reportError(this, re);
errorHandler.recover(this, re);
} finally {
exitRule();
}
return _localctx;
}