working on c37.118 forma
This commit is contained in:
parent
7883b42d13
commit
f86a6bf9f4
6 changed files with 53 additions and 74 deletions
|
@ -1,6 +1,8 @@
|
|||
//use nanoid::nanoid;
|
||||
use std::borrow::Cow;
|
||||
|
||||
use crate::grammar::Range;
|
||||
|
||||
/* Any format will be parsed into an intermediate, json-like object.
|
||||
Where possible, zero-copying should be done (???!);
|
||||
|
||||
|
@ -77,3 +79,9 @@ impl<'a> Atom<'a> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ParsedField<'a> {
|
||||
span: Range,
|
||||
name: FieldTag,
|
||||
value: Atom<'a>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue