1mod grammar;
2mod kind;
3mod lexer;
4mod parser;
5mod parser_error;
6mod syntax;
7mod text;
8
9pub use kind::*;
10pub use lexer::{LexerConfig, LexerState, LuaLexer, LuaTokenData};
11pub use parser::{LuaParser, ParserConfig, SpecialFunction};
12pub use parser_error::{LuaParseError, LuaParseErrorKind};
13pub use syntax::*;
14pub use text::LineIndex;
15pub use text::{Reader, SourceRange};
16
17#[macro_use]
18extern crate rust_i18n;
19
20rust_i18n::i18n!("./locales", fallback = "en");
21
22pub fn set_locale(locale: &str) {
23 rust_i18n::set_locale(locale);
24}