luaur-ast 0.1.0

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

impl AstNode {
    #[inline]
    pub fn as_attr(&mut self) -> *mut AstAttr {
        core::ptr::null_mut()
    }
}