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

Function NewIdentContext

parser/gen/cel_parser.go:2926–2934  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

2924}
2925
2926func NewIdentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentContext {
2927 var p = new(IdentContext)
2928
2929 InitEmptyPrimaryContext(&p.PrimaryContext)
2930 p.parser = parser
2931 p.CopyAll(ctx.(*PrimaryContext))
2932
2933 return p
2934}
2935
2936func (s *IdentContext) GetLeadingDot() antlr.Token { return s.leadingDot }
2937

Callers 1

PrimaryMethod · 0.70

Calls 2

InitEmptyPrimaryContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected