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

Function NewGlobalCallContext

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

Source from the content-addressed store, hash-verified

3306}
3307
3308func NewGlobalCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *GlobalCallContext {
3309 var p = new(GlobalCallContext)
3310
3311 InitEmptyPrimaryContext(&p.PrimaryContext)
3312 p.parser = parser
3313 p.CopyAll(ctx.(*PrimaryContext))
3314
3315 return p
3316}
3317
3318func (s *GlobalCallContext) GetLeadingDot() antlr.Token { return s.leadingDot }
3319

Callers 1

PrimaryMethod · 0.70

Calls 2

InitEmptyPrimaryContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected