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

Function NewCommandContext

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

Source from the content-addressed store, hash-verified

559func (*CommandContext) IsCommandContext() {}
560
561func NewCommandContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandContext {
562 var p = new(CommandContext)
563
564 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
565
566 p.parser = parser
567 p.RuleIndex = CommandsParserRULE_command
568
569 return p
570}
571
572func (s *CommandContext) GetParser() antlr.Parser { return s.parser }
573

Callers 1

CommandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected