luaur-ast 0.1.0

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

/// In Rust, a virtual destructor is represented by the `Drop` trait or is implicitly
/// handled by the trait object's vtable. Since `Writer` is a trait, we do not
/// need an explicit destructor method. This impl block is provided for compatibility
/// with the translation graph.
impl dyn Writer {
    // No-op: Rust handles trait object destruction via Drop.
}