public class ThrowStatement extends Statement
Modifier and Type | Field and Description |
---|---|
protected Expression |
thrown |
Constructor and Description |
---|
ThrowStatement() |
ThrowStatement(Expression thrown) |
Modifier and Type | Method and Description |
---|---|
void |
build(AST cst,
IModule module) |
void |
compile(EolCompilationContext context) |
Void |
execute(IEolContext context) |
Expression |
getThrown() |
void |
setThrown(Expression thrown) |
toStatementBlock
equals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
protected Expression thrown
public ThrowStatement()
public ThrowStatement(Expression thrown)
public void build(AST cst, IModule module)
build
in interface ModuleElement
build
in class AbstractModuleElement
public Void execute(IEolContext context) throws EolRuntimeException
EolRuntimeException
public Expression getThrown()
public void setThrown(Expression thrown)
public void compile(EolCompilationContext context)
Copyright © 2020. All rights reserved.