All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dragome.compiler.ast.ThrowStatement Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy