aspoev.interpreter.runtime
Class CommandLineEnvironment
java.lang.Object
aspoev.interpreter.runtime.ExecutionEnvironment
aspoev.interpreter.runtime.CommandLineEnvironment
- public class CommandLineEnvironment
- extends ExecutionEnvironment
| Methods inherited from class aspoev.interpreter.runtime.ExecutionEnvironment |
cflow, cflow, cflow, cflow, cflow, declareGlobalVariable, declareGlobalVariable, declareGlobalVariable, declareStaticVariable, declareStaticVariable, declareVariable, declareVariable, declareVariable, getCurrentNameSpace, getCurrentStackFrame, getLocalVariable, getNextNameSpace, getNumArguments, getVariableType, getVariableValue, getVariableValue, initEnvironment, peekCurrent, popArgument, popCurrent, popMethodFrame, popScope, printEnvironment, pushArgument, pushCurrent, pushMethodFrame, pushScope, pushScope, setClassVariable, setLocalVariable, setStaticVariableValue, setVariableValue, setVariableValue, typeCheck, within, within, within, within, within |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
prompt
protected java.lang.String prompt
finished
protected boolean finished
registeredCommands
protected java.util.Hashtable registeredCommands
CommandLineEnvironment
public CommandLineEnvironment()
processInput
protected void processInput()
processCommand
protected void processCommand(java.lang.String[] command)
parseStatement
protected void parseStatement(java.lang.String command)
printAccessibleVariables
protected void printAccessibleVariables()
printBindings
protected void printBindings()
printPrompt
protected void printPrompt()
printTypes
protected void printTypes()
registerCommand
public void registerCommand(CommandExecutioner command)
- External entities can register commands with this Command Line -
that is, they can register one-word cues that tell the command
line to let the specified Command Executioner handle the rest of
the command. Not that these registered commands take precedence
over all other input processing options.
runType
public void runType(java.lang.String[] runArgs)
unregisterCommand
public void unregisterCommand(CommandExecutioner command)
main
public static void main(java.lang.String[] args)
loadTransientClasses
public static void loadTransientClasses()
printEditHelp
protected void printEditHelp()
printHelp
protected void printHelp()
toString
public java.lang.String toString()