Expand description
Lossless concrete syntax support for Miden Assembly.
This crate provides a trivia-preserving lexer, a rowan-based concrete syntax tree, and a small
set of typed AST wrappers over that CST. The primary entry point for production use is
parse_source_file, which accepts an Arc<SourceFile> and
retains source/span information for both diagnostics and downstream lowering.
Re-exports§
pub use self::ast::Item;pub use self::ast::Operation;pub use self::lexer::Lexer;pub use self::lexer::Token;pub use self::lexer::tokenize;pub use self::lexer::tokenize_text;pub use self::parser::Parse;pub use self::parser::parse_inline_masm;pub use self::parser::parse_source_file;pub use self::parser::parse_text;pub use self::syntax::MasmLanguage;pub use self::syntax::SyntaxElement;pub use self::syntax::SyntaxKind;pub use self::syntax::SyntaxNode;pub use self::syntax::SyntaxToken;pub use miden_utils_diagnostics as diagnostics;pub use rowan;
Modules§
Structs§
- Report
- Core Diagnostic wrapper type.