hydroper_jet_compiler 0.1.21

Hydroper Jet Language Compiler
Documentation
use crate::ns::*;
use serde::{Serialize, Deserialize};
use std::rc::Rc;

#[derive(Clone, Serialize, Deserialize)]
pub struct TryStatement {
    pub location: Location,
    pub block: Rc<Block>,
    pub catch_clauses: Vec<CatchClause>,
    pub finally_clause: Option<FinallyClause>,
}

#[derive(Clone, Serialize, Deserialize)]
pub struct CatchClause {
    pub location: Location,
    pub parameter: TypedDestructuring,
    pub block: Rc<Block>,
}

#[derive(Clone, Serialize, Deserialize)]
pub struct FinallyClause {
    pub location: Location,
    pub block: Rc<Block>,
}