variantType method

VariantTypeContext variantType()

Implementation

VariantTypeContext variantType() {
  dynamic _localctx = VariantTypeContext(context, state);
  enterRule(_localctx, 42, RULE_variantType);
  int _la;
  try {
    enterOuterAlt(_localctx, 1);
    state = 176;
    match(TOKEN_T__30);
    state = 177;
    match(TOKEN_T__27);
    state = 187;
    errorHandler.sync(this);
    _la = tokenStream.LA(1)!;
    while ((((_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_T__23) | (BigInt.one << TOKEN_T__24) | (BigInt.one << TOKEN_T__25) | (BigInt.one << TOKEN_T__26) | (BigInt.one << TOKEN_T__30) | (BigInt.one << TOKEN_T__34) | (BigInt.one << TOKEN_T__35) | (BigInt.one << TOKEN_IDENTIFIER))) != BigInt.zero)) {
      state = 178;
      exprType();
      state = 182;
      errorHandler.sync(this);
      _la = tokenStream.LA(1)!;
      while (_la == TOKEN_T__28) {
        state = 179;
        match(TOKEN_T__28);
        state = 184;
        errorHandler.sync(this);
        _la = tokenStream.LA(1)!;
      }
      state = 189;
      errorHandler.sync(this);
      _la = tokenStream.LA(1)!;
    }
    state = 190;
    match(TOKEN_T__29);
  } on RecognitionException catch (re) {
    _localctx.exception = re;
    errorHandler.reportError(this, re);
    errorHandler.recover(this, re);
  } finally {
    exitRule();
  }
  return _localctx;
}