MCPcopy Index your code
hub / github.com/google/go-jsonnet / setCurrentTrace

Method setCurrentTrace

interpreter.go:146–151  ·  view source on GitHub ↗
(trace traceElement)

Source from the content-addressed store, hash-verified

144}
145
146func (s *callStack) setCurrentTrace(trace traceElement) {
147 if s.currentTrace != (traceElement{}) {
148 panic("Tried to change the traceElement while the old one was still there.")
149 }
150 s.currentTrace = trace
151}
152
153func (s *callStack) clearCurrentTrace() {
154 s.currentTrace = traceElement{}

Callers 9

popIfExistsMethod · 0.95
rawevaluateMethod · 0.80
manifestJSONMethod · 0.80
evaluateStdFunction · 0.80
evaluateAuxFunction · 0.80
evaluateFunction · 0.80
evaluateMultiFunction · 0.80
evaluateStreamFunction · 0.80
evaluateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected