luaur-ast 0.1.0

Lexer, parser, and AST for Luau (faithful Rust port).
Documentation
1
2
3
4
5
6
7
8
use crate::records::parser::Parser;

impl Parser {
    #[allow(non_snake_case)]
    pub fn save_locals(&self) -> u32 {
        self.local_stack.len() as u32
    }
}