()
| 30 | ) |
| 31 | |
| 32 | func init() { |
| 33 | // inject any new tokens into QLBridge.Lex describing the custom tokens we created |
| 34 | lex.TokenNameMap[TokenSubscribeTo] = &lex.TokenInfo{Description: "subscribeto"} |
| 35 | |
| 36 | // OverRide the Identity Characters in lexer to allow a dash in identity |
| 37 | lex.IDENTITY_CHARS = "_./-" |
| 38 | lex.LoadTokenInfo() |
| 39 | |
| 40 | ourDialect.Init() |
| 41 | } |
| 42 | |
| 43 | func verifyLexerTokens(l *lex.Lexer, tokens []lex.Token) { |
| 44 | for _, goodToken := range tokens { |
nothing calls this directly
no test coverage detected