MCPcopy
hub / github.com/google/go-jsonnet / newLocal

Method newLocal

interpreter.go:178–184  ·  view source on GitHub ↗
(vars bindingFrame)

Source from the content-addressed store, hash-verified

176}
177
178func (s *callStack) newLocal(vars bindingFrame) {
179 s.stack = append(s.stack, &callFrame{
180 env: makeEnvironment(vars, selfBinding{}),
181 trace: s.currentTrace,
182 })
183 s.clearCurrentTrace()
184}
185
186// getSelfBinding resolves the self construct
187func (s *callStack) getSelfBinding() selfBinding {

Callers 1

rawevaluateMethod · 0.80

Calls 2

clearCurrentTraceMethod · 0.95
makeEnvironmentFunction · 0.85

Tested by

no test coverage detected