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

Method Push

checker/scopes.go:42–47  ·  view source on GitHub ↗

Push creates a new Scopes value which references the current Scope as its parent.

()

Source from the content-addressed store, hash-verified

40
41// Push creates a new Scopes value which references the current Scope as its parent.
42func (s *Scopes) Push() *Scopes {
43 return &Scopes{
44 parent: s,
45 scopes: newGroup(),
46 }
47}
48
49// PushInherited creates a new Scopes value which references the current Scope as its inherited parent.
50func (s *Scopes) PushInherited() *Scopes {

Callers 4

NewEnvFunction · 0.45
enterScopeMethod · 0.45
ExecMethod · 0.45
ExecMethod · 0.45

Calls 1

newGroupFunction · 0.85

Tested by

no test coverage detected