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

Function NewCompileContext

repl/parser/commands_parser.go:2601–2610  ·  view source on GitHub ↗
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)

Source from the content-addressed store, hash-verified

2599func (*CompileContext) IsCompileContext() {}
2600
2601func NewCompileContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompileContext {
2602 var p = new(CompileContext)
2603
2604 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
2605
2606 p.parser = parser
2607 p.RuleIndex = CommandsParserRULE_compile
2608
2609 return p
2610}
2611
2612func (s *CompileContext) GetParser() antlr.Parser { return s.parser }
2613

Callers 1

CompileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected