luaur-ast 0.1.0

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

#[allow(non_snake_case)]
pub fn string_writer_maybe_space(writer: &mut StringWriter, new_pos: &Position, reserve: i32) {
    writer.maybe_space(new_pos, reserve);
}