class fansh::Shell

sys::Obj
  fansh::Shell

Source

Fantom Shell

addUsing

Void addUsing(Str line)

Source

Add using statement after we

clear

Void clear()

Source

Clear the environment

command

Bool command(Str line)

Source

If the line maps to a command function, then run it and return true. Otherwise return false.

dumpScope

Void dumpScope()

Source

Run the scope command.

help

Void help()

Source

Run the help command.

in

InStream in := Env.cur().in

Source

out

OutStream out := Env.cur().out

Source

quit

Void quit()

Source

Run the quit command.

run

Void run()

Source

Run the shell main loop.