pub struct GraphQLLanguage {}Expand description
GraphQL 语言实现
Trait Implementations§
Source§impl Clone for GraphQLLanguage
impl Clone for GraphQLLanguage
Source§fn clone(&self) -> GraphQLLanguage
fn clone(&self) -> GraphQLLanguage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GraphQLLanguage
impl Debug for GraphQLLanguage
Source§impl Language for GraphQLLanguage
impl Language for GraphQLLanguage
Source§type SyntaxKind = GraphQLSyntaxKind
type SyntaxKind = GraphQLSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§type TypedRoot = GraphQLRoot
type TypedRoot = GraphQLRoot
The root type for the parsed tree that represents the top-level structure of the language. Read more
Source§impl<'config> Lexer<GraphQLLanguage> for GraphQLLexer<'config>
impl<'config> Lexer<GraphQLLanguage> for GraphQLLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, GraphQLLanguage>,
) -> LexOutput<GraphQLLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, GraphQLLanguage>, ) -> LexOutput<GraphQLLanguage>
Tokenizes source text using an existing cache for incremental parsing. Read more
Source§fn lex(
&self,
source: impl Source,
) -> OakDiagnostics<Vec<Token<<L as Language>::SyntaxKind>>>
fn lex( &self, source: impl Source, ) -> OakDiagnostics<Vec<Token<<L as Language>::SyntaxKind>>>
Tokenizes the given source text into a sequence of tokens. Read more
Auto Trait Implementations§
impl Freeze for GraphQLLanguage
impl RefUnwindSafe for GraphQLLanguage
impl Send for GraphQLLanguage
impl Sync for GraphQLLanguage
impl Unpin for GraphQLLanguage
impl UnwindSafe for GraphQLLanguage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more