Function seq_geom_parser::parse_segment
source · pub fn parse_segment(r: Pair<'_, Rule>) -> GeomPiece
Expand description
Parses any type of geometry segment. According to the grammer, this will be either
a fixed_segment, fixed_seq_segment, ranged_segment, or unbounded_segment. This function
is the top-level parser for individual “pieces” of geometry, and returns the corresponding
GeomPiece
.