Documentation
¶
Index ¶
- func Clear()
- func DoRyeDualRepl(leftPs *env.ProgramState, rightPs *env.ProgramState, dialect string, ...)
- func DoRyeRepl(es *env.ProgramState, dialect string, showResults bool, localHist bool, ...)
- func HandleEnterConsoleOption(es *env.ProgramState, genv *env.Idxs)
- func HandleListContextOption(es *env.ProgramState, genv *env.Idxs)
- func HandleNvimOption(fileName string, lineNumber int)
- func HandleVSCodeOption(fileName string, lineNumber int)
- func MoveCursor(x int, y int)
- func MoveCursorBackward(bias int)
- func MoveCursorDown(bias int)
- func MoveCursorForward(bias int)
- func MoveCursorUp(bias int)
- func OfferDebuggingOptions(es *env.ProgramState, genv *env.Idxs, tag string)
- type Repl
- type ShellEd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoRyeDualRepl ¶
func DoRyeDualRepl(leftPs *env.ProgramState, rightPs *env.ProgramState, dialect string, showResults bool)
DoRyeDualRepl is a placeholder for the dual-pane REPL (full implementation in repl_dual.go.TODO). Falls back to a single REPL on the left ProgramState.
func HandleEnterConsoleOption ¶
func HandleEnterConsoleOption(es *env.ProgramState, genv *env.Idxs)
HandleEnterConsoleOption enters the REPL console for debugging
func HandleListContextOption ¶
func HandleListContextOption(es *env.ProgramState, genv *env.Idxs)
HandleListContextOption lists the current context
func HandleNvimOption ¶
HandleNvimOption opens Neovim at the specified file and line
func HandleVSCodeOption ¶
HandleVSCodeOption opens VSCode at the specified file and line
func MoveCursorBackward ¶
func MoveCursorBackward(bias int)
Move cursor backward relative the current position
func MoveCursorForward ¶
func MoveCursorForward(bias int)
Move cursor forward relative the current position
func OfferDebuggingOptions ¶
func OfferDebuggingOptions(es *env.ProgramState, genv *env.Idxs, tag string)
OfferDebuggingOptions presents debugging options to the user when an error occurs Loops to offer options repeatedly until user chooses to continue or times out