Skip to main content

Module parse

Module parse 

Source
Expand description

Reading a description back into a tree.

Writing a description is the hot side and it is a Vec<u8> push. Reading one happens when a tag comparison already failed, or when a tool wants to print what is in a file, so this side is written for clarity and for saying exactly where a description went wrong.

Enums§

Type
A description, parsed.

Functions§

metric_of
The metric a parsed vector names, when this build knows it.
parse
Parse a whole description. Trailing bytes are an error, because a description that is a valid type followed by rubbish is not a description.