Fantom

 

class

fansh::Shell

sys::Obj
  fansh::Shell

Fantom Shell

Slots

addUsingSource

Void addUsing(Str line)

Add using statement after we

clearSource

Void clear()

Clear the environment

commandSource

Bool command(Str line)

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

dumpScopeSource

Void dumpScope()

Run the scope command.

helpSource

Void help()

Run the help command.

inSource

InStream in := Env.cur().in

outSource

OutStream out := Env.cur().out

quitSource

Void quit()

Run the quit command.

runSource

Void run()

Run the shell main loop.