PushFrame pushes a new from to the call stack.
(f Frame)
| 186 | |
| 187 | // PushFrame pushes a new from to the call stack. |
| 188 | func (s *Callstack) PushFrame(f Frame) { |
| 189 | if f.Module == "" { |
| 190 | f.Module = unbacked |
| 191 | } |
| 192 | *s = append(*s, f) |
| 193 | } |
| 194 | |
| 195 | // FrameAt returns the stack frame at the specified index. |
| 196 | func (s *Callstack) FrameAt(i int) Frame { |
no outgoing calls