public class ComputedVariableStatement extends VariableStatement
| Modifier and Type | Field and Description |
|---|---|
protected Operation |
dml |
conditional, modifiable, name| Modifier | Constructor and Description |
|---|---|
protected |
ComputedVariableStatement(SourceRange sourceRange,
String name,
Operation dml,
boolean conditional,
boolean modifiable)
Creates a VariableStatement which assign a global variable to the result
of a DML block.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Context context)
Execute this Statement within the given context.
|
String |
toString()
Return a reasonable string representation of this statement.
|
convertLoadpathVariable, getInstancegetSourceRangeprotected final Operation dml
protected ComputedVariableStatement(SourceRange sourceRange, String name, Operation dml, boolean conditional, boolean modifiable) throws SyntaxException
sourceRange - source location of this statementname - name of the global variabledml - DML block to evaluateconditional - flag indicating if this is a conditional assignmentmodifiable - flag indicating if the variable can be modified after this
statement executes (i.e. final functionality)SyntaxExceptionCopyright © 2014 Quattor. All Rights Reserved.