gnu.expr

Class CatchClause

public class CatchClause extends ScopeExp

A "catch" clause of a "try-catch" form.
Constructor Summary
CatchClause(Object name, ClassType type)
CatchClause(LambdaExp lexp)
"Convert" a LambdaExp to a CatchClause.
Method Summary
voidcompile(Compilation comp, Target target)
ExpressiongetBody()
CatchClausegetNext()
protected booleanmustCompile()
voidprint(OutPort out)
voidsetBody(Expression body)
voidsetNext(CatchClause next)
protected voidwalkChildren(ExpWalker walker)

Constructor Detail

CatchClause

public CatchClause(Object name, ClassType type)

CatchClause

public CatchClause(LambdaExp lexp)
"Convert" a LambdaExp to a CatchClause.

Method Detail

compile

public void compile(Compilation comp, Target target)

getBody

public final Expression getBody()

getNext

public final CatchClause getNext()

mustCompile

protected boolean mustCompile()

print

public void print(OutPort out)

setBody

public final void setBody(Expression body)

setNext

public final void setNext(CatchClause next)

walkChildren

protected void walkChildren(ExpWalker walker)