public class DML extends AbstractOperation
ops, sourceRange| Modifier | Constructor and Description |
|---|---|
protected |
DML(SourceRange sourceRange,
Operation... operations)
Create new DML instance from variable list of arguments (as operations).
|
| Modifier and Type | Method and Description |
|---|---|
Element |
execute(Context context)
Execution of a DML block consists simply of executing the block's
arguments in order.
|
static Operation |
getInstance(SourceRange sourceRange,
Operation... operations)
Factory method to create a new DML block, although this may return
another Operation because of optimization.
|
static DML |
getUnoptimizedInstance(SourceRange sourceRange,
Operation... operations)
Factory method to create a new DML block, although this may return
another Operation because of optimization.
|
String |
toString()
String representation of a DML block is a list of the operations within
braces.
|
calculateArgs, calculateTerms, checkInvalidSelfContext, checkRestrictedContext, getOperations, getSourceRangeprotected DML(SourceRange sourceRange, Operation... operations)
sourceRange - source location of this operation and its argumentsoperations - variable list of argumentspublic static Operation getInstance(SourceRange sourceRange, Operation... operations)
sourceRange - location of this block in the source fileoperations - the operations that make up this blockpublic static DML getUnoptimizedInstance(SourceRange sourceRange, Operation... operations)
sourceRange - location of this block in the source fileoperations - the operations that make up this blockpublic Element execute(Context context)
Undef.execute in interface Operationexecute in class AbstractOperationcontext - evaluation context for the statementpublic String toString()
toString in class AbstractOperationCopyright © 2014 Quattor. All Rights Reserved.