Skip to main content

luaur_ast/records/
ast_stat_error.rs

1use crate::records::ast_array::AstArray;
2use crate::records::ast_expr::AstExpr;
3use crate::records::ast_stat::AstStat;
4
5#[repr(C)]
6#[derive(Debug)]
7pub struct AstStatError {
8    pub base: AstStat,
9    pub expressions: AstArray<*mut AstExpr>,
10    pub statements: AstArray<*mut AstStat>,
11    pub message_index: u32,
12}
13
14impl crate::rtti::AstNodeClass for AstStatError {
15    const CLASS_INDEX: i32 = crate::rtti::ast_rtti_index("AstStatError");
16}