libgraphql_core/lib.rs
1/// Things related to GraphQL syntax trees. Currently this is mostly re-exports
2/// of/wrappers around [`graphql_parser`].
3pub mod ast;
4mod directive_annotation;
5mod directive_annotation_builder;
6mod file_reader;
7/// Things related to file- and definition-locations (e.g. [loc::FilePosition],
8/// [loc::SourceLocation], etc).
9pub mod loc;
10mod named_ref;
11/// Things related to
12/// [GraphQL operations](https://spec.graphql.org/October2021/#sec-Language.Operations)
13/// (e.g. [`Query`](operation::Query),
14/// [`QueryBuilder`](operation::QueryBuilder),
15/// [`Mutation`](operation::Mutation), etc...).
16pub mod operation;
17mod readonly_map;
18/// Things related to
19/// [GraphQL schemas](https://spec.graphql.org/October2021/#sec-Schema)
20/// (e.g. [`Schema`](schema::Schema), [`SchemaBuilder`](schema::SchemaBuilder),
21/// etc...)
22pub mod schema;
23/// Things related to
24/// [GraphQL types](https://spec.graphql.org/October2021/#sec-Types) which have
25/// been defined within some [`Schema`](schema::Schema).
26pub mod types;
27mod value;
28
29pub use directive_annotation::DirectiveAnnotation;
30pub use directive_annotation_builder::DirectiveAnnotationBuilder;
31use named_ref::NamedRef;
32pub use readonly_map::ReadOnlyMap;
33pub use value::Value;
34
35#[cfg(test)]
36mod test;