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