gnu.expr
Class TryExp

java.lang.Object
  |
  +--gnu.expr.Expression
        |
        +--gnu.expr.TryExp

public class TryExp
extends Expression

This class represents try/catch/finally.


Constructor Summary
TryExp(Expression try_clause, Expression finally_clause)
           
 
Method Summary
 void compile(Compilation comp, Target target)
           
 java.lang.Object eval(Environment env)
           
 CatchClause getCatchClauses()
           
 void print(java.io.PrintWriter ps)
           
 void setCatchClauses(CatchClause catch_clauses)
           
 
Methods inherited from class gnu.expr.Expression
compile, compileNotePosition, compileWithPosition, getColumn, getFile, getLine, getType, setFile, setLine, setLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TryExp

public TryExp(Expression try_clause,
              Expression finally_clause)
Method Detail

getCatchClauses

public final CatchClause getCatchClauses()

setCatchClauses

public final void setCatchClauses(CatchClause catch_clauses)

eval

public java.lang.Object eval(Environment env)
Overrides:
eval in class Expression

compile

public void compile(Compilation comp,
                    Target target)
Overrides:
compile in class Expression

print

public void print(java.io.PrintWriter ps)
Overrides:
print in class Expression