#![forbid(unsafe_code)]
mod diagnostic;
pub mod escape;
pub mod express;
mod header;
pub mod lexer;
mod model;
mod parallel;
mod parser;
mod partition;
pub mod recovery;
mod references;
mod scan;
pub mod schema;
pub mod writer;
pub use diagnostic::{Source, SourceLocation, Span, Spanned, StepError};
pub use header::is_step_file;
pub use model::{
DataRecord, DataSection, Exchange, HeaderRecord, HeaderSection, Instance, InstanceId,
Parameter, Record, StandardHeader, Str,
};
pub use parallel::parse_parallel_with;
pub use parser::{
parse, parse_events, parse_events_borrowed, parse_events_with, parse_with, Event, EventSink,
};
pub use partition::{data_record_spans, partition_data_records, Partition};
pub use recovery::{Diagnostic, DiagnosticKind, OnMalformed, ParseOptions, ParseOutcome, Severity};
pub use scan::{decode_record, decode_record_borrowed, scan, Records, Scan, ScannedRecord};
pub use schema::SchemaGraph;
pub use writer::{write, write_parameter, write_to_string};
pub const MAX_PARAMETER_NESTING: usize = 128;