Changeset 887fc79 for doc/theses/andrew_beach_MMath/features.tex
- Timestamp:
- May 25, 2021, 3:43:25 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- c65b930
- Parents:
- 9b0bb79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/features.tex
r9b0bb79 r887fc79 115 115 116 116 \paragraph{Communication} 117 For effective exception handling, additional information is usuallypassed117 For effective exception handling, additional information is often passed 118 118 from the raise to the handler. 119 119 So far only communication of the exceptions' identity has been covered. … … 327 327 \end{cfa} 328 328 When viewed on its own, a try statement will simply execute the statements 329 in @GUARDED_BLOCK@and when those are finished the try statement finishes.329 in \snake{GUARDED_BLOCK} and when those are finished the try statement finishes. 330 330 331 331 However, while the guarded statements are being executed, including any … … 343 343 344 344 If no termination handler is found during the search then the default handler 345 ( @defaultTerminationHandler@) is run.345 (\defaultTerminationHandler) is run. 346 346 Through \CFA's trait system the best match at the throw sight will be used. 347 347 This function is run and is passed the copied exception. After the default … … 421 421 execution continues after the raise statement. 422 422 423 There is a global @defaultResumptionHandler@is polymorphic over all423 There is a global \defaultResumptionHandler{} is polymorphic over all 424 424 termination exceptions and preforms a termination throw on the exception. 425 The @defaultTerminationHandler@ for that raise is matched at the original426 raise statement (the resumption @throwResume@) and it can be customized by 427 introducing a new or better match as well.425 The \defaultTerminationHandler{} for that raise is matched at the 426 original raise statement (the resumption @throw@\-@Resume@) and it can be 427 customized by introducing a new or better match as well. 428 428 429 429 \subsubsection{Resumption Marking} … … 681 681 @CoroutineCancelled@ exception, which contains a references to the cancelled 682 682 coroutine and the exception used to cancel it. 683 The resume function also takes the @defaultResumptionHandler@from the683 The resume function also takes the \defaultResumptionHandler{} from the 684 684 caller's context and passes it to the internal report. 685 685
Note: See TracChangeset
for help on using the changeset viewer.