1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//! Nom-based parser for SysML v2 textual notation.
//!
//! Organized into modules:
//! - [lex]: whitespace, comments, names, qualified names, skip helpers
//! - [diagnostics]: nom error mapping, diagnostic classification, deduplication
//! - [recovery]: recovery error nodes for structured body parsing
//! - [collect_errors]: aggregate diagnostics from AST recovery nodes
//! - [parse]: `parse_root` and `parse_with_diagnostics` entry points
//! - [attribute]: attribute definition and usage
//! - [import]: import and relationship body
//! - [part]: part definition and part usage
//! - [package]: package and root namespace
mod action;
mod alias;
mod allocation;
mod attribute;
mod bnf_surface;
mod body;
mod case;
mod collect_errors;
mod connection;
mod constraint;
mod definition_header;
mod definition_prefix;
mod dependency;
mod diagnostics;
mod enumeration;
mod expr;
mod flow;
mod import;
mod individual;
mod interface;
mod item;
mod lex;
mod metadata;
mod metadata_annotation;
mod occurrence;
mod package;
mod parse;
mod part;
mod port;
mod recovery;
mod requirement;
mod span;
mod specialization;
mod state;
mod usage;
mod usecase;
mod view;
pub(crate) use span::{node_from_to, span_from_to, with_span, Input};
pub use parse::{parse_root, parse_with_diagnostics, ParseResult};
pub(crate) use recovery::{build_recovery_error_node, build_recovery_error_node_from_span};