pub struct GraphQLLexer;Implementations§
Source§impl GraphQLLexer
impl GraphQLLexer
pub fn new(_config: &GraphQLLanguage) -> Self
Trait Implementations§
Source§impl Clone for GraphQLLexer
impl Clone for GraphQLLexer
Source§fn clone(&self) -> GraphQLLexer
fn clone(&self) -> GraphQLLexer
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 Lexer<GraphQLLanguage> for GraphQLLexer
impl Lexer<GraphQLLanguage> for GraphQLLexer
Source§fn lex<'a, S: Source + ?Sized>(
&self,
text: &S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<GraphQLLanguage>,
) -> LexOutput<GraphQLLanguage>
fn lex<'a, S: Source + ?Sized>( &self, text: &S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<GraphQLLanguage>, ) -> LexOutput<GraphQLLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Auto Trait Implementations§
impl Freeze for GraphQLLexer
impl RefUnwindSafe for GraphQLLexer
impl Send for GraphQLLexer
impl Sync for GraphQLLexer
impl Unpin for GraphQLLexer
impl UnwindSafe for GraphQLLexer
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