luaur-ast 0.1.2

Lexer, parser, and AST for Luau (faithful Rust port).
Documentation
1
2
3
4
5
6
7
8
9
10
11
extern crate alloc;

use crate::records::location::Location;
use alloc::string::String;

#[derive(Debug, Clone, PartialEq, Eq, Hash, Default)]
pub struct PrettyPrintResult {
    pub code: String,
    pub error_location: Location,
    pub parse_error: String,
}