Generate exception handlers for the body.
Generate exception handlers for the body. Body is evaluated with a context where all the handlers are active. Handlers are evaluated in the 'outer' context.
It returns the resulting context, with the same active handlers as before the call. Use it like:
ctx.Try( ctx => {
ctx.bb.emit(...) // protected block
}, (ThrowableClass,
ctx => {
ctx.bb.emit(...); // exception handler
}), (AnotherExceptionClass,
ctx => {...
} ))
The current basic block.
The current class.
The current monitors or finalizers, to be cleaned up upon return
.
The exception handlers we are currently generating code for
Current method definition.
Clone the current context
Prepare a new context upon entry into a method.
current exception handlers
Map from label symbols to label objects.
Make a fresh local variable.
Make a fresh local variable. It ensures the 'name' is unique.
The current method.
Return a new context for a new basic block.
The current package.
The current local variable scope.
(context: StringAdd).self
(context: StringFormat).self
(context: ArrowAssoc[Context]).x
(Since version 2.10.0) Use leftOfArrow
instead
(context: Ensuring[Context]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
The Context class keeps information relative to the current state in code generation