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

Function NewNestedContext

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

Source from the content-addressed store, hash-verified

7073}
7074
7075func NewNestedContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *NestedContext {
7076 var p = new(NestedContext)
7077
7078 InitEmptyPrimaryContext(&p.PrimaryContext)
7079 p.parser = parser
7080 p.CopyAll(ctx.(*PrimaryContext))
7081
7082 return p
7083}
7084
7085func (s *NestedContext) GetE() IExprContext { return s.e }
7086

Callers 1

PrimaryMethod · 0.70

Calls 2

InitEmptyPrimaryContextFunction · 0.70
CopyAllMethod · 0.45

Tested by

no test coverage detected