CELLexerInit initializes any static state used to implement CELLexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewCELLexer(). You can call this function if you wish to initialize the static state ahead of time.
()
| 287 | // NewCELLexer(). You can call this function if you wish to initialize the static state ahead |
| 288 | // of time. |
| 289 | func CELLexerInit() { |
| 290 | staticData := &CELLexerLexerStaticData |
| 291 | staticData.once.Do(cellexerLexerInit) |
| 292 | } |
| 293 | |
| 294 | // NewCELLexer produces a new lexer instance for the optional input antlr.CharStream. |
| 295 | func NewCELLexer(input antlr.CharStream) *CELLexer { |