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

Function NewExprContext

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

Source from the content-addressed store, hash-verified

4432func (*ExprContext) IsExprContext() {}
4433
4434func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext {
4435 var p = new(ExprContext)
4436
4437 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
4438
4439 p.parser = parser
4440 p.RuleIndex = CommandsParserRULE_expr
4441
4442 return p
4443}
4444
4445func (s *ExprContext) GetParser() antlr.Parser { return s.parser }
4446

Callers 1

ExprMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected