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

Function NewPrimaryContext

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

Source from the content-addressed store, hash-verified

2815func (*PrimaryContext) IsPrimaryContext() {}
2816
2817func NewPrimaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimaryContext {
2818 var p = new(PrimaryContext)
2819
2820 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
2821
2822 p.parser = parser
2823 p.RuleIndex = CELParserRULE_primary
2824
2825 return p
2826}
2827
2828func (s *PrimaryContext) GetParser() antlr.Parser { return s.parser }
2829

Callers 1

PrimaryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected