Skip to main content

luaur_ast/records/
ast_stat_function.rs

1use crate::records::ast_expr::AstExpr;
2use crate::records::ast_expr_function::AstExprFunction;
3use crate::records::ast_stat::AstStat;
4
5#[repr(C)]
6#[derive(Debug)]
7pub struct AstStatFunction {
8    pub base: AstStat,
9    pub name: *mut AstExpr,
10    pub func: *mut AstExprFunction,
11}
12
13impl crate::rtti::AstNodeClass for AstStatFunction {
14    const CLASS_INDEX: i32 = crate::rtti::ast_rtti_index("AstStatFunction");
15}