#![forbid(unsafe_code)]
#![deny(missing_docs)]
mod lower;
mod parser;
mod types;
pub use lower::{
AnnotationReference, EvaluationGap, LoweredTypeScript, decode_typescript,
decode_typescript_located, decode_typescript_tree, encode_typescript, lower_typescript,
};
pub use parser::{parse_module, parse_module_with_limits, parse_tsx, parse_tsx_with_limits};
pub use types::{Diagnostic, DiagnosticCode, Language, Limits, SyntaxKind, SyntaxNode, SyntaxTree};
pub const TYPESCRIPT_VERSION: &str = "7.0.2";
pub const TYPESCRIPT_AUTHORITY: &str =
"https://github.com/microsoft/TypeScript/tree/v7.0.2/src/compiler";
pub const TYPESCRIPT_TEST_IDENTITY: &str =
"microsoft/TypeScript v7.0.2 parser and conformance tests";
pub const TYPESCRIPT_FROZEN_ON: &str = "2026-08-09";
pub const TYPESCRIPT_CODEC_ID: sim_kernel::CodecId = sim_kernel::CodecId(0x54_53_00_00);
#[cfg(test)]
mod tests;