Skip to main content

Module asmparser

Module asmparser 

Source

Modules§

asm_parser_context
Optional file-location registry produced by LLParser.
file_loc
Line / column source locations for parser diagnostics.
ll_lexer
.ll lexer — direct port of LLVM’s textual-IR lexer.
ll_parser
Textual .ll parser — module-level slice (Session 2).
ll_token
Token type and supporting enums for the .ll lexer.
module_summary
Module summary index parser and display support.
numbered_values
Slot-numbered value tables used by the textual IR parser.
parse_error
Typed parser-error catalogue.
parser
Public parser facade.
slot_mapping
Public parser-by-product table mapping slot numbers to IR handles.

Functions§

read_to_owned
Drain r into a fresh Vec<u8>. Convenience helper for the common case where a caller has any Read source and wants to feed it to ll_lexer::Lexer::new.