[][src]Module honeycomb::transform

This module is useful for transforming the output of a parser into something useful. An example of this is converting a Vec into a String.

Functions

collect

Converts a Vec to a String

to_btree

Converts a Vec<(A, B)> to BTreeMap<A, B>

to_number

Converts a ToString to a f64

to_string

Converts a ToString to a String

unwrap_opt

Unwrap an opt where the type has a default value