goToCallerFrame(repl: ReplContext,argument: string): Promise<void>
.up — read the frame that called this one. .up 2 for its caller's caller.
Up the stack, which grows downwards: outward is where the caller is. Nothing RUNS — this only
changes which frame the rest of the session reads, which is what separates it from .finish.
import { goToCallerFrame } from './frames.ts'; import type { ReplContext } from './command.ts'; // Defined, not invoked: it reads a stopped page. function example(repl: ReplContext) { return goToCallerFrame(repl, '2'); // two frames outward }
repl: ReplContext