NewSQLiteLexer produces a new lexer instance for the optional input antlr.CharStream.
(input antlr.CharStream)
| 994 | |
| 995 | // NewSQLiteLexer produces a new lexer instance for the optional input antlr.CharStream. |
| 996 | func NewSQLiteLexer(input antlr.CharStream) *SQLiteLexer { |
| 997 | SQLiteLexerInit() |
| 998 | l := new(SQLiteLexer) |
| 999 | l.BaseLexer = antlr.NewBaseLexer(input) |
| 1000 | staticData := &SQLiteLexerLexerStaticData |
| 1001 | l.Interpreter = antlr.NewLexerATNSimulator(l, staticData.atn, staticData.decisionToDFA, staticData.PredictionContextCache) |
| 1002 | l.channelNames = staticData.ChannelNames |
| 1003 | l.modeNames = staticData.ModeNames |
| 1004 | l.RuleNames = staticData.RuleNames |
| 1005 | l.LiteralNames = staticData.LiteralNames |
| 1006 | l.SymbolicNames = staticData.SymbolicNames |
| 1007 | l.GrammarFileName = "SQLiteLexer.g4" |
| 1008 | // TODO: l.EOF = antlr.TokenEOF |
| 1009 | |
| 1010 | return l |
| 1011 | } |
| 1012 | |
| 1013 | // SQLiteLexer tokens. |
| 1014 | const ( |
no test coverage detected