libgraphql-parser 0.0.5

A blazing fast, error-focused, lossless GraphQL parser for schema, executable, and mixed documents.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::token::GraphQLToken;

/// A matched pair of delimiter tokens (parentheses, brackets,
/// or braces). Bundled into one struct so that an open
/// delimiter without a matching close is unrepresentable.
#[derive(Clone, Debug, PartialEq)]
pub struct DelimiterPair<'src> {
    pub close: GraphQLToken<'src>,
    pub open: GraphQLToken<'src>,
}