Class CSVLexer

java.lang.Object
org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
org.antlr.v4.runtime.Lexer
org.jgrapht.io.CSVLexer
All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource

class CSVLexer extends org.antlr.v4.runtime.Lexer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.antlr.v4.runtime.atn.ATN
     
    protected static final org.antlr.v4.runtime.dfa.DFA[]
     
    private static final String[]
     
    static final String
     
    protected static final org.antlr.v4.runtime.atn.PredictionContextCache
     
    private static final String[]
     
    static String[]
     
    static String[]
     
    static final String[]
     
    (package private) char
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final String[]
    Deprecated.
    Use VOCABULARY instead.
    static final org.antlr.v4.runtime.Vocabulary
     

    Fields inherited from class org.antlr.v4.runtime.Lexer

    _channel, _factory, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenFactorySourcePair, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIP

    Fields inherited from class org.antlr.v4.runtime.Recognizer

    _interp, EOF
  • Constructor Summary

    Constructors
    Constructor
    Description
    CSVLexer(org.antlr.v4.runtime.CharStream input)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.antlr.v4.runtime.atn.ATN
     
     
     
     
     
    private char
     
     
    Deprecated.
    org.antlr.v4.runtime.Vocabulary
     
    private static String[]
     
    private static String[]
     
    private static String[]
     
    boolean
    sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
     
    private boolean
    SEPARATOR_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
     
    void
    setSep(char sep)
     
    private boolean
    TEXTCHAR_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
     

    Methods inherited from class org.antlr.v4.runtime.Lexer

    emit, emit, emitEOF, getAllTokens, getChannel, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getSourceName, getText, getToken, getTokenFactory, getType, mode, more, nextToken, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skip

    Methods inherited from class org.antlr.v4.runtime.Recognizer

    action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, setInterpreter, setState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _decisionToDFA

      protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
    • _sharedContextCache

      protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
    • T__0

      public static final int T__0
      See Also:
    • T__1

      public static final int T__1
      See Also:
    • SEPARATOR

      public static final int SEPARATOR
      See Also:
    • TEXT

      public static final int TEXT
      See Also:
    • STRING

      public static final int STRING
      See Also:
    • channelNames

      public static String[] channelNames
    • modeNames

      public static String[] modeNames
    • ruleNames

      public static final String[] ruleNames
    • _LITERAL_NAMES

      private static final String[] _LITERAL_NAMES
    • _SYMBOLIC_NAMES

      private static final String[] _SYMBOLIC_NAMES
    • VOCABULARY

      public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
    • tokenNames

      @Deprecated public static final String[] tokenNames
      Deprecated.
      Use VOCABULARY instead.
    • sep

      char sep
    • _serializedATN

      public static final String _serializedATN
      See Also:
    • _ATN

      public static final org.antlr.v4.runtime.atn.ATN _ATN
  • Constructor Details

    • CSVLexer

      public CSVLexer(org.antlr.v4.runtime.CharStream input)
  • Method Details

    • makeRuleNames

      private static String[] makeRuleNames()
    • makeLiteralNames

      private static String[] makeLiteralNames()
    • makeSymbolicNames

      private static String[] makeSymbolicNames()
    • getTokenNames

      @Deprecated public String[] getTokenNames()
      Deprecated.
      Overrides:
      getTokenNames in class org.antlr.v4.runtime.Lexer
    • getVocabulary

      public org.antlr.v4.runtime.Vocabulary getVocabulary()
      Overrides:
      getVocabulary in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
    • setSep

      public void setSep(char sep)
    • getSep

      private char getSep()
    • getGrammarFileName

      public String getGrammarFileName()
      Specified by:
      getGrammarFileName in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
    • getRuleNames

      public String[] getRuleNames()
      Specified by:
      getRuleNames in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
    • getSerializedATN

      public String getSerializedATN()
      Overrides:
      getSerializedATN in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
    • getChannelNames

      public String[] getChannelNames()
      Overrides:
      getChannelNames in class org.antlr.v4.runtime.Lexer
    • getModeNames

      public String[] getModeNames()
      Overrides:
      getModeNames in class org.antlr.v4.runtime.Lexer
    • getATN

      public org.antlr.v4.runtime.atn.ATN getATN()
      Specified by:
      getATN in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
    • sempred

      public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
      Overrides:
      sempred in class org.antlr.v4.runtime.Recognizer<Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
    • SEPARATOR_sempred

      private boolean SEPARATOR_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)
    • TEXTCHAR_sempred

      private boolean TEXTCHAR_sempred(org.antlr.v4.runtime.RuleContext _localctx, int predIndex)