actor method
Implementation
ActorContext actor() {
dynamic _localctx = ActorContext(context, state);
enterRule(_localctx, 58, RULE_actor);
int _la;
try {
state = 305;
errorHandler.sync(this);
switch (interpreter!.adaptivePredict(tokenStream, 28, context)) {
case 1:
enterOuterAlt(_localctx, 1);
state = 271;
match(TOKEN_T__35);
state = 273;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
if ((((_la) & ~0x3f) == 0 && ((BigInt.one << _la) & ((BigInt.one << TOKEN_T__0) | (BigInt.one << TOKEN_T__1) | (BigInt.one << TOKEN_T__2) | (BigInt.one << TOKEN_T__3) | (BigInt.one << TOKEN_T__4) | (BigInt.one << TOKEN_T__5) | (BigInt.one << TOKEN_T__6) | (BigInt.one << TOKEN_T__7) | (BigInt.one << TOKEN_T__8) | (BigInt.one << TOKEN_T__9) | (BigInt.one << TOKEN_T__10) | (BigInt.one << TOKEN_T__11) | (BigInt.one << TOKEN_T__12) | (BigInt.one << TOKEN_T__13) | (BigInt.one << TOKEN_T__14) | (BigInt.one << TOKEN_T__15) | (BigInt.one << TOKEN_T__16) | (BigInt.one << TOKEN_T__17) | (BigInt.one << TOKEN_T__18) | (BigInt.one << TOKEN_IDENTIFIER))) != BigInt.zero)) {
state = 272;
idType();
}
state = 275;
match(TOKEN_T__22);
state = 279;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
if (_la == TOKEN_T__31) {
state = 276;
tupleType();
state = 277;
match(TOKEN_T__21);
}
state = 281;
actorType();
state = 285;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
while (_la == TOKEN_T__28) {
state = 282;
match(TOKEN_T__28);
state = 287;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
}
break;
case 2:
enterOuterAlt(_localctx, 2);
state = 288;
match(TOKEN_T__35);
state = 290;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
if ((((_la) & ~0x3f) == 0 && ((BigInt.one << _la) & ((BigInt.one << TOKEN_T__0) | (BigInt.one << TOKEN_T__1) | (BigInt.one << TOKEN_T__2) | (BigInt.one << TOKEN_T__3) | (BigInt.one << TOKEN_T__4) | (BigInt.one << TOKEN_T__5) | (BigInt.one << TOKEN_T__6) | (BigInt.one << TOKEN_T__7) | (BigInt.one << TOKEN_T__8) | (BigInt.one << TOKEN_T__9) | (BigInt.one << TOKEN_T__10) | (BigInt.one << TOKEN_T__11) | (BigInt.one << TOKEN_T__12) | (BigInt.one << TOKEN_T__13) | (BigInt.one << TOKEN_T__14) | (BigInt.one << TOKEN_T__15) | (BigInt.one << TOKEN_T__16) | (BigInt.one << TOKEN_T__17) | (BigInt.one << TOKEN_T__18) | (BigInt.one << TOKEN_IDENTIFIER))) != BigInt.zero)) {
state = 289;
idType();
}
state = 292;
match(TOKEN_T__22);
state = 296;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
if (_la == TOKEN_T__31) {
state = 293;
tupleType();
state = 294;
match(TOKEN_T__21);
}
state = 298;
idType();
state = 302;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
while (_la == TOKEN_T__28) {
state = 299;
match(TOKEN_T__28);
state = 304;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
}
break;
}
} on RecognitionException catch (re) {
_localctx.exception = re;
errorHandler.reportError(this, re);
errorHandler.recover(this, re);
} finally {
exitRule();
}
return _localctx;
}