Struct snoot::Result
[−]
[src]
pub struct Result { pub roots: Vec<Sexpr>, pub diagnostics: DiagnosticBag, }
The result of a text parse.
Since Snoot has good error recovery, parses can produce both valid trees, and error messages.
Fields
roots: Vec<Sexpr>
A list of Sexpr tree roots
diagnostics: DiagnosticBag
A bag of diagnostics collected during parse.
All parse errors in the bag are ErrorLevel::Error.