The expression evaluator allows for interrupting and later resuming expression evaluation for function calls. Otherwise stated, the expression evaluation may be interrupted when some function needs to be evaluated, the evaluation state saved and control reverted back to the application. Once the application is done the expression evaluation may be resumed. The function call for which the expression evaluation was interrupted is expected to be evaluated by the application.
For sequencing the expression evaluation a (sequenced evaluation) context needs to be created. Once the evaluation is completed the created context is to be disposed of.
|• Sequenced Expression Evaluation Example:|