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

Function NewExprContext

parser/gen/cel_parser.go:476–485  ·  view source on GitHub ↗
(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int)

Source from the content-addressed store, hash-verified

474func (*ExprContext) IsExprContext() {}
475
476func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext {
477 var p = new(ExprContext)
478
479 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
480
481 p.parser = parser
482 p.RuleIndex = CELParserRULE_expr
483
484 return p
485}
486
487func (s *ExprContext) GetParser() antlr.Parser { return s.parser }
488

Callers 1

ExprMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected