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

Function NewNestedContext

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

Source from the content-addressed store, hash-verified

3115}
3116
3117func NewNestedContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NestedContext {
3118 var p = new(NestedContext)
3119
3120 InitEmptyPrimaryContext(&p.PrimaryContext)
3121 p.parser = parser
3122 p.CopyAll(ctx.(*PrimaryContext))
3123
3124 return p
3125}
3126
3127func (s *NestedContext) GetE() IExprContext { return s.e }
3128

Callers 1

PrimaryMethod · 0.70

Calls 2

InitEmptyPrimaryContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected