1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! This is a utility library providing common types
//! when dealing with RDF data:
//! blank node identifier, literal, subject, predicate, object,
//! graph label, gRDF term, triple and quad.
//!
//! The optional feature `meta` provides compatibility
//! with the `locspan` crate to locate every sub-component
//! of a term.
mod blankid;
mod display;
pub mod generator;
mod grdf;
pub mod interpretation;
pub mod literal;
mod quad;
mod term;
mod triple;
pub mod vocabulary;

#[cfg(feature = "meta")]
pub mod meta;

pub use blankid::*;
pub use display::*;
pub use generator::Generator;
pub use grdf::*;
pub use interpretation::{
	BlankIdInterpretation, BlankIdInterpretationMut, IdInterpretation, IdInterpretationMut,
	Interpret, Interpretation, InterpretationMut, IriInterpretation, IriInterpretationMut,
	LexicalIdInterpretation, LexicalIdInterpretationMut, LexicalTermInterpretation,
	LexicalTermInterpretationMut, LiteralInterpretation, LiteralInterpretationMut,
	ReverseIdInterpretation, ReverseTermInterpretation, ReverseTermInterpretationMut,
	TermInterpretation, TermInterpretationMut,
};
pub use literal::{
	IntoLiteral, Literal, MapLiteral, RdfDisplayTypeSeparator, TryExportLiteral,
	TryExportLiteralType,
};
pub use quad::*;
pub use term::*;
pub use triple::*;
pub use vocabulary::{
	BlankIdVocabulary, BlankIdVocabularyMut, IndexVocabulary, InsertIntoVocabulary,
	InsertedIntoVocabulary, IriVocabulary, IriVocabularyMut, LanguageTagVocabulary,
	LanguageTagVocabularyMut, LiteralVocabulary, LiteralVocabularyMut, NoVocabulary,
	TryExportFromVocabulary, Vocabulary, VocabularyMut,
};

#[cfg(feature = "meta")]
pub use generator::MetaGenerator;

/// Node identifier namespace.
pub trait Namespace {
	type Id;
}