public iterationNameDefinitionTokens()

in packages/dmn-feel-antlr4-parser/src/parser/grammar/generated-parser/FEEL_1_1Parser.ts [1519:1617]


  public iterationNameDefinitionTokens(): IterationNameDefinitionTokensContext {
    const localctx: IterationNameDefinitionTokensContext = new IterationNameDefinitionTokensContext(
      this,
      this._ctx,
      this.state
    );
    this.enterRule(localctx, 50, FEEL_1_1Parser.RULE_iterationNameDefinitionTokens);
    let _la: number;
    try {
      this.enterOuterAlt(localctx, 1);
      {
        this.state = 327;
        this.match(FEEL_1_1Parser.Identifier);
        this.state = 335;
        this._errHandler.sync(this);
        _la = this._input.LA(1);
        while (
          ((_la & ~0x1f) === 0 && ((1 << _la) & 16777196) !== 0) ||
          (((_la - 33) & ~0x1f) === 0 && ((1 << (_la - 33)) & 179201) !== 0)
        ) {
          {
            this.state = 333;
            this._errHandler.sync(this);
            switch (this._input.LA(1)) {
              case 50:
                {
                  this.state = 328;
                  this.match(FEEL_1_1Parser.Identifier);
                }
                break;
              case 21:
              case 33:
              case 43:
              case 44:
              case 45:
              case 46:
                {
                  this.state = 329;
                  this.additionalNameSymbol();
                }
                break;
              case 22:
                {
                  this.state = 330;
                  this.match(FEEL_1_1Parser.IntegerLiteral);
                }
                break;
              case 23:
                {
                  this.state = 331;
                  this.match(FEEL_1_1Parser.FloatingPointLiteral);
                }
                break;
              case 2:
              case 3:
              case 5:
              case 6:
              case 7:
              case 8:
              case 9:
              case 10:
              case 11:
              case 12:
              case 13:
              case 14:
              case 15:
              case 16:
              case 17:
              case 18:
              case 19:
              case 20:
              case 48:
                {
                  this.state = 332;
                  this.reusableKeywords();
                }
                break;
              default:
                throw new NoViableAltException(this);
            }
          }
          this.state = 337;
          this._errHandler.sync(this);
          _la = this._input.LA(1);
        }
      }
    } catch (re) {
      if (re instanceof RecognitionException) {
        localctx.exception = re;
        this._errHandler.reportError(this, re);
        this._errHandler.recover(this, re);
      } else {
        throw re;
      }
    } finally {
      this.exitRule();
    }
    return localctx;
  }