luaur-ast 0.1.3

Lexer, parser, and AST for Luau (faithful Rust port).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::records::ast_local::AstLocal;

#[derive(Debug, Clone, Copy)]
pub struct Local {
    pub local: *mut AstLocal,
    pub offset: u32,
}

impl Default for Local {
    fn default() -> Self {
        Self {
            local: core::ptr::null_mut(),
            offset: 0,
        }
    }
}