Package org.eclipse.epsilon.eol.dom
Class ExpressionStatement
- 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.ExpressionStatement
-
- All Implemented Interfaces:
ModuleElement
,ICompilableModuleElement
,IExecutableModuleElement
public class ExpressionStatement extends Statement
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression
expression
-
Constructor Summary
Constructors Constructor Description ExpressionStatement()
ExpressionStatement(Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compile(IEolCompilationContext context)
java.lang.Object
execute(IEolContext context)
Expression
getExpression()
void
setExpression(Expression expression)
-
Methods inherited from class org.eclipse.epsilon.eol.dom.Statement
toStatementBlock
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
build, equals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
build, getChildren, getComments, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Field Detail
-
expression
protected Expression expression
-
-
Constructor Detail
-
ExpressionStatement
public ExpressionStatement()
-
ExpressionStatement
public ExpressionStatement(Expression expression)
-
-
Method Detail
-
execute
public java.lang.Object execute(IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
setExpression
public void setExpression(Expression expression)
-
getExpression
public Expression getExpression()
-
compile
public void compile(IEolCompilationContext context)
-
-