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
12
13
14
#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(C)]
pub enum Kind {
    Indexer,
    Property,
    StringProperty,
}

impl Kind {
    pub const Indexer: Kind = Kind::Indexer;
    pub const Property: Kind = Kind::Property;
    pub const StringProperty: Kind = Kind::StringProperty;
}