public class SelfNestedVariable extends NestedVariable
identifier, lookupOnlyops, sourceRange| Constructor and Description |
|---|
SelfNestedVariable(SourceRange sourceRange,
boolean lookupOnly,
Operation... operations) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInvalidSelfContext()
Default implementation recursively calls this method on all of the
contained operations (arguments).
|
Element |
execute(Context context)
Execute this operation within the given context.
|
toStringgetInstance, getInstance, getInstancecalculateArgs, calculateTerms, checkRestrictedContext, getOperations, getSourceRangepublic SelfNestedVariable(SourceRange sourceRange, boolean lookupOnly, Operation... operations)
public void checkInvalidSelfContext()
throws SyntaxException
AbstractOperationcheckInvalidSelfContext in interface OperationcheckInvalidSelfContext in class AbstractOperationSyntaxException - if operation references SELFpublic Element execute(Context context)
Operationexecute in interface Operationexecute in class NestedVariablecontext - evaluation context for the statementCopyright © 2014 Quattor. All Rights Reserved.