test commit
This commit is contained in:
parent
f86a6bf9f4
commit
5fa1ed471f
2 changed files with 11 additions and 1 deletions
|
@ -23,7 +23,7 @@ use crate::grammar::Range;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/// Tag to uniquely represent a particular field
|
/// Tag to uniquely represent a particular field
|
||||||
type FieldTag = &'static str;
|
pub type FieldTag = &'static str;
|
||||||
|
|
||||||
/// Primitive value types
|
/// Primitive value types
|
||||||
#[derive(PartialEq, Debug)]
|
#[derive(PartialEq, Debug)]
|
||||||
|
|
10
src/parser/mod.rs
Normal file
10
src/parser/mod.rs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
use crate::{
|
||||||
|
grammar::Range,
|
||||||
|
ir::{Atom, FieldTag},
|
||||||
|
};
|
||||||
|
|
||||||
|
struct ParsedField<'a> {
|
||||||
|
range: Range,
|
||||||
|
name: FieldTag,
|
||||||
|
value: Atom<'a>,
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue