oak_graphql/language/
mod.rs

1use crate::{ast::GraphQLRoot, kind::GraphQLSyntaxKind};
2use oak_core::Language;
3
4/// GraphQL 语言实现
5#[derive(Debug, Clone)]
6pub struct GraphQLLanguage {}
7
8impl Language for GraphQLLanguage {
9    type SyntaxKind = GraphQLSyntaxKind;
10    type TypedRoot = GraphQLRoot;
11}