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
use crate::records::cst_node::CstNode;
use crate::records::position::Position;

#[repr(C)]
#[derive(Debug, Clone)]
pub struct CstStatCompoundAssign {
    pub base: CstNode,
    pub op_position: Position,
}

impl crate::rtti::CstNodeClass for CstStatCompoundAssign {
    const CLASS_INDEX: i32 = crate::rtti::cst_rtti_index("CstStatCompoundAssign");
}