Skip to main content

parse_flat

Function parse_flat 

Source
pub fn parse_flat(source: &str) -> SyntaxNode
Expand description

Parse source to a flat lossless CST.

The returned node’s text serialization equals source byte-for- byte for every UTF-8 input. Every token is a direct child of SOURCE_FILE; no structural directive wrapping.