dmc-parser 0.3.4

Typed AST parser for the dmc MDX compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub mod jsx;
pub mod node;

pub use jsx::*;
pub use node::*;

/// Default `Span` for serde deserialization; `duck_diagnostic::Span` is not
/// `Serialize`/`Deserialize`.
pub fn default_span() -> duck_diagnostic::Span {
  duck_diagnostic::Span::new("", 0, 0, 0)
}