net.scheinerman.phoenix.runner
Class InteractivePhoenixEnvironment

java.lang.Object
  extended by net.scheinerman.phoenix.runner.PhoenixEnvironment
      extended by net.scheinerman.phoenix.runner.InteractivePhoenixEnvironment

public class InteractivePhoenixEnvironment
extends PhoenixEnvironment


Nested Class Summary
private  class InteractivePhoenixEnvironment.InteractiveFunctions
           
 
Field Summary
private  boolean exited
           
private  java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat
           
private  InteractiveInterpreter interpreter
           
private  java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat
           
 
Fields inherited from class net.scheinerman.phoenix.runner.PhoenixEnvironment
modules
 
Constructor Summary
InteractivePhoenixEnvironment(boolean includeDefaultModules)
           
InteractivePhoenixEnvironment(boolean includeDefaultModules, java.io.InputStream inputStream, java.io.PrintStream outputStream, java.io.PrintStream errorStream)
           
 
Method Summary
 void addModule(AbstractModule module)
           
 void addModules(java.util.ArrayList<AbstractModule> modules)
           
 java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> getFAT()
           
 java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> getVAT()
           
 boolean isExited()
           
 void resetModules()
           
 void run(java.io.File file)
           
 void runCode(java.lang.String code)
           
 
Methods inherited from class net.scheinerman.phoenix.runner.PhoenixEnvironment
getErrorStream, getInputStream, getOutputStream, run, setErrorStream, setInputStream, setOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vat

private java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat

fat

private java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat

interpreter

private InteractiveInterpreter interpreter

exited

private boolean exited
Constructor Detail

InteractivePhoenixEnvironment

public InteractivePhoenixEnvironment(boolean includeDefaultModules)

InteractivePhoenixEnvironment

public InteractivePhoenixEnvironment(boolean includeDefaultModules,
                                     java.io.InputStream inputStream,
                                     java.io.PrintStream outputStream,
                                     java.io.PrintStream errorStream)
Method Detail

isExited

public boolean isExited()

getVAT

public java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> getVAT()

getFAT

public java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> getFAT()

addModule

public void addModule(AbstractModule module)
Overrides:
addModule in class PhoenixEnvironment

addModules

public void addModules(java.util.ArrayList<AbstractModule> modules)

resetModules

public void resetModules()
Overrides:
resetModules in class PhoenixEnvironment

run

public final void run(java.io.File file)

runCode

public void runCode(java.lang.String code)