Package org.eclipse.epsilon.eol.dom
Class ThrowStatement
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.AbstractExecutableModuleElement
-
- org.eclipse.epsilon.eol.dom.Statement
-
- org.eclipse.epsilon.eol.dom.ThrowStatement
-
- All Implemented Interfaces:
ModuleElement,ICompilableModuleElement,IExecutableModuleElement
public class ThrowStatement extends Statement
-
-
Field Summary
Fields Modifier and Type Field Description protected Expressionthrown
-
Constructor Summary
Constructors Constructor Description ThrowStatement()ThrowStatement(Expression thrown)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(AST cst, IModule module)voidcompile(IEolCompilationContext context)java.lang.Voidexecute(IEolContext context)ExpressiongetThrown()voidsetThrown(Expression thrown)-
Methods inherited from class org.eclipse.epsilon.eol.dom.Statement
toStatementBlock
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
-
-
-
-
Field Detail
-
thrown
protected Expression thrown
-
-
Constructor Detail
-
ThrowStatement
public ThrowStatement()
-
ThrowStatement
public ThrowStatement(Expression thrown)
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
buildin interfaceModuleElement- Overrides:
buildin classAbstractModuleElement
-
execute
public java.lang.Void execute(IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
getThrown
public Expression getThrown()
-
setThrown
public void setThrown(Expression thrown)
-
compile
public void compile(IEolCompilationContext context)
-
-