public final class Return extends BuiltInFunction
nameops, sourceRange| Modifier and Type | Method and Description |
|---|---|
void |
checkRestrictedContext()
Default implementation recursively calls this method on all of the
contained operations (arguments).
|
Element |
execute(Context context)
Execute this operation within the given context.
|
static Operation |
getInstance(SourceRange sourceRange,
Operation... operations) |
throwExceptionIfCompileTimeContext, toStringcalculateArgs, calculateTerms, checkInvalidSelfContext, getOperations, getSourceRangepublic static Operation getInstance(SourceRange sourceRange, Operation... operations) throws SyntaxException
SyntaxExceptionpublic Element execute(Context context)
Operationexecute in interface Operationexecute in class AbstractOperationcontext - evaluation context for the statementpublic void checkRestrictedContext()
throws SyntaxException
AbstractOperationcheckRestrictedContext in interface OperationcheckRestrictedContext in class AbstractOperationSyntaxException - if operation cannot appear in restricted contextCopyright © 2014 Quattor. All Rights Reserved.