public final class SelfSimpleVariable extends SimpleVariable
identifier, lookupOnlyops, sourceRange| Constructor and Description |
|---|
SelfSimpleVariable(SourceRange sourceRange,
boolean lookupOnly) |
| 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 SelfSimpleVariable(SourceRange sourceRange, boolean lookupOnly)
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 SimpleVariablecontext - evaluation context for the statementCopyright © 2014 Quattor. All Rights Reserved.