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_local::AstLocal;
use crate::records::ast_name::AstName;
use crate::records::position::Position;
use alloc::vec::Vec;
use luaur_common::records::dense_hash_map::DenseHashMap;

#[derive(Debug, Clone)]
pub struct FragmentParseResumeSettings {
    pub(crate) local_map: DenseHashMap<AstName, *mut AstLocal>,
    pub(crate) local_stack: Vec<*mut AstLocal>,
    pub(crate) resume_position: Position,
}