Skip to main content

parse_logical_line

Function parse_logical_line 

Source
pub fn parse_logical_line(line: &str) -> Option<LogicalLine<'_>>
Expand description

Parse one logical line into a LogicalLine. Returns None when the line is malformed (no colon, no name).

Today this is a minimal parser — it splits on the first : and on ; boundaries in the prefix, without handling quoted-string param values that span semicolons. ADR-019 Step 1 brings property routing onto this primitive; a richer quoted-param parser arrives if/when a real-world file demands it.