Ignore:
Timestamp:
May 25, 2021, 3:43:25 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
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
Message:

Andrew MMath: Handled some too long lines caused by code snipits. Added a new command: \snake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/features.tex

    r9b0bb79 r887fc79  
    115115
    116116\paragraph{Communication}
    117 For effective exception handling, additional information is usually passed
     117For effective exception handling, additional information is often passed
    118118from the raise to the handler.
    119119So far only communication of the exceptions' identity has been covered.
     
    327327\end{cfa}
    328328When 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.
     329in \snake{GUARDED_BLOCK} and when those are finished the try statement finishes.
    330330
    331331However, while the guarded statements are being executed, including any
     
    343343
    344344If no termination handler is found during the search then the default handler
    345 (@defaultTerminationHandler@) is run.
     345(\defaultTerminationHandler) is run.
    346346Through \CFA's trait system the best match at the throw sight will be used.
    347347This function is run and is passed the copied exception. After the default
     
    421421execution continues after the raise statement.
    422422
    423 There is a global @defaultResumptionHandler@ is polymorphic over all
     423There is a global \defaultResumptionHandler{} is polymorphic over all
    424424termination exceptions and preforms a termination throw on the exception.
    425 The @defaultTerminationHandler@ for that raise is matched at the original
    426 raise statement (the resumption @throwResume@) and it can be customized by
    427 introducing a new or better match as well.
     425The \defaultTerminationHandler{} for that raise is matched at the
     426original raise statement (the resumption @throw@\-@Resume@) and it can be
     427customized by introducing a new or better match as well.
    428428
    429429\subsubsection{Resumption Marking}
     
    681681@CoroutineCancelled@ exception, which contains a references to the cancelled
    682682coroutine and the exception used to cancel it.
    683 The resume function also takes the @defaultResumptionHandler@ from the
     683The resume function also takes the \defaultResumptionHandler{} from the
    684684caller's context and passes it to the internal report.
    685685
Note: See TracChangeset for help on using the changeset viewer.