Package org.eclipse.epsilon.eol.dom
Class AssignmentStatement
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.AssignmentStatement
- All Implemented Interfaces:
ModuleElement,IExecutableModuleElement
- Direct Known Subclasses:
SpecialAssignmentStatement
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAssignmentStatement(Expression targetExpression, Expression valueExpression) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IEolVisitor visitor) voidexecute(IEolContext context) protected ObjectgetValueEquivalent(Object source, Object value, IEolContext context) protected ExpressiongetValueExpression(AST cst, Expression expression) voidsetTargetExpression(Expression targetExpression) voidsetValueExpression(Expression valueExpression) Methods inherited from class org.eclipse.epsilon.eol.dom.Statement
toStatementBlockMethods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Field Details
-
targetExpression
-
valueExpression
-
-
Constructor Details
-
AssignmentStatement
public AssignmentStatement() -
AssignmentStatement
-
-
Method Details
-
build
- Specified by:
buildin interfaceModuleElement- Overrides:
buildin classAbstractModuleElement
-
getValueExpression
- Parameters:
cst-- Returns:
- Since:
- 2.2
-
execute
- Throws:
EolRuntimeException
-
getValueEquivalent
protected Object getValueEquivalent(Object source, Object value, IEolContext context) throws EolRuntimeException - Throws:
EolRuntimeException
-
getTargetExpression
-
setTargetExpression
-
getValueExpression
-
setValueExpression
-
accept
-