public final class Add extends AbstractOperation
ops, sourceRange| Modifier and Type | Method and Description |
|---|---|
Element |
execute(Context context)
Perform the addition of the two top values on the data stack in the given
DMLContext.
|
static Operation |
newOperation(SourceRange sourceRange,
Operation... ops)
Factory class for creating a new Add operation.
|
calculateArgs, calculateTerms, checkInvalidSelfContext, checkRestrictedContext, getOperations, getSourceRange, toStringpublic static Operation newOperation(SourceRange sourceRange, Operation... ops) throws SyntaxException
sourceRange - location of this operation in the sourceops - arguments for this operationSyntaxExceptionpublic Element execute(Context context)
execute in interface Operationexecute in class AbstractOperationcontext - evaluation context for the statementCopyright © 2014 Quattor. All Rights Reserved.