Skip to main content

parse_text

Function parse_text 

Source
pub fn parse_text(input: &str) -> Parse
Expand description

Parses raw MASM text into a detached CST with SourceId::UNKNOWN spans.

This is primarily intended for tests and ad hoc helpers. Production callers should prefer parse_source_file so diagnostics and spans remain attached to a real SourceFile.