1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use iref::IriBuf;
use locspan::{Location, Span};
pub mod lexing;
pub mod parsing;
pub use lexing::Lexer;
pub use parsing::Parse;
pub use rdf_types::meta::{Literal, Object, Term};
pub use rdf_types::{BlankIdBuf, GraphLabel, Quad, StringLiteral, Subject};
pub type LocQuad<F, S = Span> = rdf_types::meta::MetaRdfQuad<Location<F, S>>;
pub type LocGrdfQuad<F, S = Span> = rdf_types::meta::MetaGrdfQuad<Location<F, S>>;
pub type Document<F, S = Span> = Vec<LocQuad<F, S>>;
pub type GrdfDocument<F, S = Span> = Vec<LocGrdfQuad<F, S>>;