xshade_parser/ast/
block_declaration.rs

1use ::ast::*;
2
3#[derive(Debug, Eq, PartialEq, Serialize, Deserialize)]
4pub struct BlockDeclaration {
5    pub span: Span,
6    pub statements: Vec<Statement>,
7}
8
9impl Spanned for BlockDeclaration {
10    fn get_span(&self) -> Span {
11        self.span
12    }
13}