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

Function NewPrimaryContext

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

Source from the content-addressed store, hash-verified

6773func (*PrimaryContext) IsPrimaryContext() {}
6774
6775func NewPrimaryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PrimaryContext {
6776 var p = new(PrimaryContext)
6777
6778 antlr.InitBaseParserRuleContext(&p.BaseParserRuleContext, parent, invokingState)
6779
6780 p.parser = parser
6781 p.RuleIndex = CommandsParserRULE_primary
6782
6783 return p
6784}
6785
6786func (s *PrimaryContext) GetParser() antlr.Parser { return s.parser }
6787

Callers 1

PrimaryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected