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

Function NewGlobalCallContext

repl/parser/commands_parser.go:7266–7274  ·  view source on GitHub ↗
(parser antlr.Parser, ctx antlr.ParserRuleContext)

Source from the content-addressed store, hash-verified

7264}
7265
7266func NewGlobalCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *GlobalCallContext {
7267 var p = new(GlobalCallContext)
7268
7269 InitEmptyPrimaryContext(&p.PrimaryContext)
7270 p.parser = parser
7271 p.CopyAll(ctx.(*PrimaryContext))
7272
7273 return p
7274}
7275
7276func (s *GlobalCallContext) GetLeadingDot() antlr.Token { return s.leadingDot }
7277

Callers 1

PrimaryMethod · 0.70

Calls 2

InitEmptyPrimaryContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected