UNPKG

antlr4-runtime

Version:

JavaScript runtime for ANTLR4

18 lines (16 loc) 660 B
/* Copyright (c) 2012-2022 The ANTLR Project Contributors. All rights reserved. * Use is of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ import DecisionState from "./DecisionState.js"; import ATNState from "./ATNState.js"; export default class StarLoopEntryState extends DecisionState { constructor() { super(); this.stateType = ATNState.STAR_LOOP_ENTRY; this.loopBackState = null; // Indicates whether this state can benefit from a precedence DFA during SLL decision making. this.isPrecedenceDecision = null; return this; } }