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

Function NewExprCmdContext

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

Source from the content-addressed store, hash-verified

2887func (*ExprCmdContext) IsExprCmdContext() {}
2888
2889func NewExprCmdContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprCmdContext {
2890 var p = new(ExprCmdContext)
2891
2892 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
2893
2894 p.parser = parser
2895 p.RuleIndex = CommandsParserRULE_exprCmd
2896
2897 return p
2898}
2899
2900func (s *ExprCmdContext) GetParser() antlr.Parser { return s.parser }
2901

Callers 1

ExprCmdMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected