Class LexerATNSimulator

java.lang.Object
org.antlr.v4.runtime.atn.ATNSimulator
org.antlr.v4.runtime.atn.LexerATNSimulator

public class LexerATNSimulator extends ATNSimulator
"dup" of ParserInterpreter
  • Field Details

    • debug

      public static final boolean debug
      See Also:
    • dfa_debug

      public static final boolean dfa_debug
      See Also:
    • MIN_DFA_EDGE

      public static final int MIN_DFA_EDGE
      See Also:
    • MAX_DFA_EDGE

      public static final int MAX_DFA_EDGE
      See Also:
    • optimize_tail_calls

      public boolean optimize_tail_calls
    • recog

      @Nullable protected final Lexer recog
    • startIndex

      protected int startIndex
      The current token's starting index into the character stream. Shared across DFA to ATN simulation in case the ATN fails and the DFA did not have a previous accept state. In this case, we use the ATN-generated exception object.
    • line

      protected int line
      line number 1..n within the input
    • charPositionInLine

      protected int charPositionInLine
      The index of the character relative to the beginning of the line 0..n-1
    • mode

      protected int mode
    • prevAccept

      @NotNull protected final LexerATNSimulator.SimState prevAccept
      Used during DFA/ATN exec to record the most recent accept configuration info
    • match_calls

      @Deprecated public static int match_calls
      Deprecated.
      This field is no longer used.
  • Constructor Details

  • Method Details