Struct koto_parser::AstTry [−][src]
pub struct AstTry {
pub try_block: AstIndex,
pub catch_arg: Option<ConstantIndex>,
pub catch_block: AstIndex,
pub finally_block: Option<AstIndex>,
}
Expand description
A try expression definition
Fields
try_block: AstIndex
The block that’s wrapped by the try
catch_arg: Option<ConstantIndex>
The optional identifier that will receive a caught error
catch_block: AstIndex
The try expression’s catch block
finally_block: Option<AstIndex>
An optional finally
block
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AstTry
impl UnwindSafe for AstTry
Blanket Implementations
Mutably borrows from an owned value. Read more