MCPcopy Create free account
hub / github.com/cel-expr/cel-go / CELLexerInit

Function CELLexerInit

parser/gen/cel_lexer.go:289–292  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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

Callers 1

NewCELLexerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected