luaur-ast 0.1.1

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
use crate::records::function::Function;

impl Function {
    pub fn new() -> Self {
        Self {
            vararg: false,
            loop_depth: 0,
        }
    }
}

#[allow(non_snake_case)]
pub fn parser_function_function() -> Function {
    Function::new()
}