#![doc(html_root_url = "https://docs.rs/ox_mf2_parser/0.14.0-alpha.2")]
mod api;
mod diagnostic;
mod error;
mod parser;
mod scanner;
mod semantic;
pub mod snapshot;
mod source;
mod span;
mod syntax_kind;
mod tables;
mod view;
mod workspace;
pub use api::{
parse_batch, parse_message, parse_source, parse_source_session, BatchExecution, BatchParseItem,
BatchParseOptions, BatchParseResult, ParseInput, ParseOptions, ParseResult, ParseSessionResult,
};
pub use diagnostic::{
Diagnostic, DiagnosticCode, DiagnosticIter, DiagnosticLabel, DiagnosticRef, DiagnosticSeverity,
DiagnosticView,
};
pub use error::{
ox_mf2_error_code_name, ox_mf2_error_domain, BindingValidationErrorCode,
InitializationErrorCode, OxMf2ErrorCode, OxMf2ErrorDomain, SourceTextErrorCode,
OX_MF2_API_ERROR_MIN, OX_MF2_BINDING_VALIDATION_ERROR_MAX, OX_MF2_BINDING_VALIDATION_ERROR_MIN,
OX_MF2_DECODE_ERROR_MAX, OX_MF2_DECODE_ERROR_MIN, OX_MF2_INITIALIZATION_ERROR_MAX,
OX_MF2_INITIALIZATION_ERROR_MIN, OX_MF2_SNAPSHOT_WRITE_ERROR_MAX,
OX_MF2_SNAPSHOT_WRITE_ERROR_MIN, OX_MF2_SOURCE_TEXT_ERROR_MAX, OX_MF2_SOURCE_TEXT_ERROR_MIN,
};
pub use semantic::{MessageMode, SemanticMessageKind, SemanticModel, SemanticView};
pub use snapshot::{
decode_snapshot, decode_snapshot_owned, parse_batch_result_to_snapshot,
parse_batch_to_snapshot, parse_message_to_snapshot, parse_result_to_snapshot,
parse_session_to_snapshot, parse_source_to_snapshot, BatchSnapshotResult, DecodeError,
DecodeErrorCode, RootId, SectionKind, SnapshotOptions, SnapshotResult, SnapshotSourceMetadata,
SnapshotView, SnapshotViewOwned, SnapshotWriteError, SnapshotWriteErrorCode,
SourceTextUnavailable,
};
pub use source::{SourceFile, SourceFileInput, SourceLocation, SourceStore, SourceStoreError};
pub use span::{EdgeId, NodeId, SourceId, Span, TokenId, TriviaId, NONE_U32};
pub use syntax_kind::SyntaxKind;
pub use tables::{CstCapacity, CstTables};
pub use view::{
CstChild, CstChildren, CstNodeTokens, CstNodeView, CstTokenView, CstTriviaRange, CstTriviaView,
CstView,
};
pub use workspace::{ParseCapacity, ParseWorkspace};