public interface Operation
| Modifier and Type | Method and Description |
|---|---|
void |
checkInvalidSelfContext()
This method will check that if a given reference to SELF occurs in an
invalid context.
|
void |
checkRestrictedContext()
This method will check that the given operation and any arguments can be
used in a restricted context such as variable indices and function
arguments.
|
Element |
execute(Context context)
Execute this operation within the given context.
|
Element execute(Context context) throws EvaluationException
context - evaluation context for the statementEvaluationException - if an error occurs during processingvoid checkRestrictedContext()
throws SyntaxException
SyntaxException - if this operation cannot be run within a restricted contextvoid checkInvalidSelfContext()
throws SyntaxException
SyntaxException - if this operation references SELFCopyright © 2014 Quattor. All Rights Reserved.