NewSQLiteParser produces a new parser instance for the optional input antlr.TokenStream.
(input antlr.TokenStream)
| 1215 | |
| 1216 | // NewSQLiteParser produces a new parser instance for the optional input antlr.TokenStream. |
| 1217 | func NewSQLiteParser(input antlr.TokenStream) *SQLiteParser { |
| 1218 | SQLiteParserInit() |
| 1219 | this := new(SQLiteParser) |
| 1220 | this.BaseParser = antlr.NewBaseParser(input) |
| 1221 | staticData := &SQLiteParserParserStaticData |
| 1222 | this.Interpreter = antlr.NewParserATNSimulator(this, staticData.atn, staticData.decisionToDFA, staticData.PredictionContextCache) |
| 1223 | this.RuleNames = staticData.RuleNames |
| 1224 | this.LiteralNames = staticData.LiteralNames |
| 1225 | this.SymbolicNames = staticData.SymbolicNames |
| 1226 | this.GrammarFileName = "SQLiteParser.g4" |
| 1227 | |
| 1228 | return this |
| 1229 | } |
| 1230 | |
| 1231 | // SQLiteParser tokens. |
| 1232 | const ( |
no test coverage detected