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

Function CommandsParserInit

repl/parser/commands_parser.go:276–279  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

274// NewCommandsParser(). You can call this function if you wish to initialize the static state ahead
275// of time.
276func CommandsParserInit() {
277 staticData := &CommandsParserStaticData
278 staticData.once.Do(commandsParserInit)
279}
280
281// NewCommandsParser produces a new parser instance for the optional input antlr.TokenStream.
282func NewCommandsParser(input antlr.TokenStream) *CommandsParser {

Callers 1

NewCommandsParserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected