public class AssignmentStatement extends Statement
Modifier and Type | Field and Description |
---|---|
protected Expression |
targetExpression |
protected Expression |
valueExpression |
Constructor and Description |
---|
AssignmentStatement() |
AssignmentStatement(Expression targetExpression,
Expression valueExpression) |
Modifier and Type | Method and Description |
---|---|
void |
build(AST cst,
IModule module) |
void |
compile(EolCompilationContext context) |
Object |
execute(IEolContext context) |
Expression |
getTargetExpression() |
Object |
getValueEquivalent(Object source,
Object value,
IEolContext context) |
Expression |
getValueExpression() |
void |
setTargetExpression(Expression targetExpression) |
void |
setValueExpression(Expression valueExpression) |
toStatementBlock
getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
protected Expression targetExpression
protected Expression valueExpression
public AssignmentStatement()
public AssignmentStatement(Expression targetExpression, Expression valueExpression)
public void build(AST cst, IModule module)
build
in interface ModuleElement
build
in class AbstractModuleElement
public Object execute(IEolContext context) throws EolRuntimeException
EolRuntimeException
public Object getValueEquivalent(Object source, Object value, IEolContext context) throws EolRuntimeException
EolRuntimeException
public void compile(EolCompilationContext context)
public Expression getTargetExpression()
public void setTargetExpression(Expression targetExpression)
public Expression getValueExpression()
public void setValueExpression(Expression valueExpression)
Copyright © 2018. All rights reserved.