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
use crate::records::ast_expr::AstExpr;

impl AstExpr {
    pub fn as_expr(&mut self) -> *mut AstExpr {
        self as *mut AstExpr
    }
}

#[allow(non_snake_case)]
pub fn ast_expr_as_expr(this: *mut AstExpr) -> *mut AstExpr {
    this
}