luaur_ast/records/
ast_stat_while.rs1use crate::records::ast_expr::AstExpr;
2use crate::records::ast_stat::AstStat;
3use crate::records::ast_stat_block::AstStatBlock;
4use crate::records::location::Location;
5
6#[repr(C)]
7#[derive(Debug)]
8pub struct AstStatWhile {
9 pub base: AstStat,
10 pub condition: *mut AstExpr,
11 pub body: *mut AstStatBlock,
12 pub has_do: bool,
13 pub do_location: Location,
14}
15
16impl crate::rtti::AstNodeClass for AstStatWhile {
17 const CLASS_INDEX: i32 = crate::rtti::ast_rtti_index("AstStatWhile");
18}