pub type GraphQLToken = Token<GraphQLTokenType>;Expand description
Represents a token in a GraphQL source file.
Aliased Type§
pub struct GraphQLToken {
pub kind: GraphQLTokenType,
pub span: Range<usize>,
}Fields§
§kind: GraphQLTokenTypeThe kind/category of this kind (e.g., keyword, identifier, number)
span: Range<usize>The byte range in the source text that this kind occupies