pub struct TryCatchBlockNode {
pub start: LabelNode,
pub end: LabelNode,
pub handler: LabelNode,
pub catch_type: Option<InternalNameRef>,
pub type_annotations: Vec<TypeAnnotationNode>,
}
Fields§
§start: LabelNode
The beginning of the exception handler’s scope (inclusive).
end: LabelNode
The end of the exception handler’s scope (exclusive).
handler: LabelNode
The beginning of the exception handler’s code.
catch_type: Option<InternalNameRef>
The internal name of the type of exceptions handled by the exception handler, or None to catch any exceptions (for “finally” blocks).
type_annotations: Vec<TypeAnnotationNode>
type annotations on the exception handler type.
Trait Implementations§
Source§impl Clone for TryCatchBlockNode
impl Clone for TryCatchBlockNode
Source§fn clone(&self) -> TryCatchBlockNode
fn clone(&self) -> TryCatchBlockNode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TryCatchBlockNode
impl RefUnwindSafe for TryCatchBlockNode
impl Send for TryCatchBlockNode
impl Sync for TryCatchBlockNode
impl Unpin for TryCatchBlockNode
impl UnwindSafe for TryCatchBlockNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more