Skip to main content

luaur_ast/records/
ast_stat_block.rs

1use crate::records::ast_array::AstArray;
2use crate::records::ast_stat::AstStat;
3use crate::records::location::Location;
4
5#[repr(C)]
6#[derive(Debug)]
7pub struct AstStatBlock {
8    pub base: AstStat,
9    pub body: AstArray<*mut AstStat>,
10    pub has_end: bool,
11}
12
13impl crate::rtti::AstNodeClass for AstStatBlock {
14    const CLASS_INDEX: i32 = crate::rtti::ast_rtti_index("AstStatBlock");
15}