gnu.expr
Class CatchClause

java.lang.Object
  |
  +--gnu.expr.Expression
        |
        +--gnu.expr.ScopeExp
              |
              +--gnu.expr.CatchClause

public class CatchClause
extends ScopeExp

A "catch" clause of a "try-catch" form.


Fields inherited from class gnu.expr.ScopeExp
outer
 
Constructor Summary
CatchClause(java.lang.String name, ClassType type)
           
 
Method Summary
 void compile(Compilation comp, Target target)
           
 Expression getBody()
           
 CatchClause getNext()
           
 void print(java.io.PrintWriter ps)
           
 void setBody(Expression body)
           
 void setNext(CatchClause next)
           
 
Methods inherited from class gnu.expr.ScopeExp
add, addDeclaration, addDeclaration, addDeclaration, countDecls, currentLambda, firstDecl, lookup
 
Methods inherited from class gnu.expr.Expression
compile, compileNotePosition, compileWithPosition, eval, 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

CatchClause

public CatchClause(java.lang.String name,
                   ClassType type)
Method Detail

getNext

public final CatchClause getNext()

setNext

public final void setNext(CatchClause next)

getBody

public final Expression getBody()

setBody

public final void setBody(Expression body)

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