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

Function NewIdentContext

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

Source from the content-addressed store, hash-verified

6882}
6883
6884func NewIdentContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *IdentContext {
6885 var p = new(IdentContext)
6886
6887 InitEmptyPrimaryContext(&p.PrimaryContext)
6888 p.parser = parser
6889 p.CopyAll(ctx.(*PrimaryContext))
6890
6891 return p
6892}
6893
6894func (s *IdentContext) GetLeadingDot() antlr.Token { return s.leadingDot }
6895

Callers 1

PrimaryMethod · 0.70

Calls 2

InitEmptyPrimaryContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected