Skip to main content

parse_path

Function parse_path 

Source
pub fn parse_path(s: &str) -> Result<Vec<Segment>, String>
Expand description

Parse a dotted/indexed path expression into a list of segments.

Returns Err with a message pointing at the character offset on failure.