Skip to main content

gobject_ast/model/statement/
compound_stmt.rs

1use serde::Serialize;
2
3use crate::model::{SourceLocation, Statement};
4
5#[derive(Debug, Clone, Serialize)]
6pub struct CompoundStatement {
7    #[serde(skip_serializing_if = "Vec::is_empty")]
8    pub statements: Vec<Statement>,
9    pub location: SourceLocation,
10}