com.dragome.compiler.ast.ThrowStatement 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 ThrowStatement extends Block
{
public void visit(AbstractVisitor visitor)
{
visitor.visit(this);
}
public Expression getExpression()
{
return (Expression) getFirstChild();
}
public void setExpression(Expression expression)
{
widen(expression);
appendChild(expression);
}
}