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

Function CELParserInit

parser/gen/cel_parser.go:187–190  ·  view source on GitHub ↗

CELParserInit initializes any static state used to implement CELParser. By default the static state used to implement the parser is lazily initialized during the first call to NewCELParser(). You can call this function if you wish to initialize the static state ahead of time.

()

Source from the content-addressed store, hash-verified

185// NewCELParser(). You can call this function if you wish to initialize the static state ahead
186// of time.
187func CELParserInit() {
188 staticData := &CELParserStaticData
189 staticData.once.Do(celParserInit)
190}
191
192// NewCELParser produces a new parser instance for the optional input antlr.TokenStream.
193func NewCELParser(input antlr.TokenStream) *CELParser {

Callers 1

NewCELParserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected