luaur-ast 0.1.1

Lexer, parser, and AST for Luau (faithful Rust port).
Documentation
1
2
3
4
5
6
7
8
9
use crate::enums::type_lexer::Type;
use crate::records::position::Position;

#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[allow(non_camel_case_types)]
pub struct MatchLexeme {
    pub type_: Type,
    pub position: Position,
}