net.scheinerman.phoenix.interpreter
Class TryInterpreter

java.lang.Object
  extended by net.scheinerman.phoenix.interpreter.Interpreter
      extended by net.scheinerman.phoenix.interpreter.TryInterpreter

public class TryInterpreter
extends Interpreter


Field Summary
private  CatchInterpreter catchInterpreter
           
 
Fields inherited from class net.scheinerman.phoenix.interpreter.Interpreter
_break, _continue, _return, breakValue, code, fat, file, keywordList, line, line_diff, printValues, retType, retTypeSet, retValue, run_code, stop, vat
 
Constructor Summary
TryInterpreter(java.lang.String file, java.lang.String code, int line, java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat, java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat, CatchInterpreter catchInterpreter)
           
 
Method Summary
protected  void dealWithError(PhoenixRuntimeException e)
           
 
Methods inherited from class net.scheinerman.phoenix.interpreter.Interpreter
dealWithBreak, dealWithContinue, dealWithReturn, delete, doRun, getBlock, getFunction, getFunctionArguments, getFunctionFromDefinition, getReturnValue, getVariable, getWhitespace, initNewTables, isValidIdentifier, makeDefaultVariable, makeFunction, makeVariable, makeVariable, parsePhrase, putFunction, removeComments, removeWhitespace, retValueMatches, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

catchInterpreter

private CatchInterpreter catchInterpreter
Constructor Detail

TryInterpreter

public TryInterpreter(java.lang.String file,
                      java.lang.String code,
                      int line,
                      java.util.LinkedList<java.util.HashMap<java.lang.String,Variable>> vat,
                      java.util.LinkedList<java.util.HashMap<java.lang.String,Function>> fat,
                      CatchInterpreter catchInterpreter)
Method Detail

dealWithError

protected void dealWithError(PhoenixRuntimeException e)
Overrides:
dealWithError in class Interpreter