hydroper_jet_compiler 0.1.21

Hydroper Jet Language Compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::ns::*;
use serde::{Serialize, Deserialize};
use std::rc::Rc;

/// Block statement.
///
/// Block statements may occasionally be assigned a `BlockStatementSymbol`
/// to attach preprocessed plain meta-data.
#[derive(Clone, Serialize, Deserialize)]
pub struct Block {
    pub location: Location,
    /// Block meta-data for block statements.
    pub metadata: Option<Vec<Attribute>>,
    pub directives: Vec<Rc<Directive>>,
}