Fan

 

class

fansh::Shell

sys::Obj
  fansh::Shell

Fan 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 := Sys.in

outSource

OutStream out := Sys.out

quitSource

Void quit()

Run the quit command.

runSource

Void run()

Run the shell main loop.