pub struct RacketLanguage;Expand description
Racket language definition.
Trait Implementations§
Source§impl Builder<RacketLanguage> for Builder
impl Builder<RacketLanguage> for Builder
Source§fn build<'a, S: Source + ?Sized>(
&self,
_text: &S,
_edits: &[TextEdit],
_cache: &'a mut impl BuilderCache<RacketLanguage>,
) -> BuildOutput<RacketLanguage>
fn build<'a, S: Source + ?Sized>( &self, _text: &S, _edits: &[TextEdit], _cache: &'a mut impl BuilderCache<RacketLanguage>, ) -> BuildOutput<RacketLanguage>
Builds the higher-level structure (typically an AST) from the source text. Read more
Source§impl Language for RacketLanguage
impl Language for RacketLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Programming
const CATEGORY: LanguageCategory = LanguageCategory::Programming
The category of the language.
Source§type TokenType = TokenType
type TokenType = TokenType
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = ElementType
type ElementType = ElementType
The element type used to represent composite structures in the parsed tree. Read more
Source§impl Lexer<RacketLanguage> for Lexer
impl Lexer<RacketLanguage> for Lexer
Source§fn lex<'a, S: Source + ?Sized>(
&self,
text: &S,
edits: &[TextEdit],
cache: &'a mut impl LexerCache<RacketLanguage>,
) -> LexOutput<RacketLanguage>
fn lex<'a, S: Source + ?Sized>( &self, text: &S, edits: &[TextEdit], cache: &'a mut impl LexerCache<RacketLanguage>, ) -> LexOutput<RacketLanguage>
Tokenizes the source text into a sequence of tokens. Read more
Source§impl Parser<RacketLanguage> for Parser
impl Parser<RacketLanguage> for Parser
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<RacketLanguage>,
) -> ParseOutput<'a, RacketLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<RacketLanguage>, ) -> ParseOutput<'a, RacketLanguage>
The core parsing entry point for converting tokens into a syntax tree. Read more
Auto Trait Implementations§
impl Freeze for RacketLanguage
impl RefUnwindSafe for RacketLanguage
impl Send for RacketLanguage
impl Sync for RacketLanguage
impl Unpin for RacketLanguage
impl UnsafeUnpin for RacketLanguage
impl UnwindSafe for RacketLanguage
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