luaur-ast 0.1.1

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

pub fn dump(node: *mut AstNode) {
    let s = to_string_ast_node(node);
    println!("{}", s);
}