com.dragome.compiler.ast.CatchClause Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-bytecode-js-compiler Show documentation
Show all versions of dragome-bytecode-js-compiler Show documentation
Dragome SDK module: bytecode to javascript compiler
package com.dragome.compiler.ast;
import com.dragome.compiler.generators.AbstractVisitor;
public class CatchClause extends Block
{
private VariableDeclaration exception;
public CatchClause(int theBeginIndex)
{
super(theBeginIndex);
}
public void visit(AbstractVisitor visitor)
{
visitor.visit(this);
}
public VariableDeclaration getException()
{
return exception;
}
public void setException(VariableDeclaration theException)
{
exception= theException;
}
}