luaur-ast 0.1.0

Lexer, parser, and AST for Luau (faithful Rust port).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct Function {
    pub vararg: bool,
    pub loop_depth: u32,
}

impl Default for Function {
    fn default() -> Self {
        Self {
            vararg: false,
            loop_depth: 0,
        }
    }
}