pub struct MarkdownLanguage {
pub allow_math: bool,
}Fields§
§allow_math: boolTrait Implementations§
Source§impl Debug for MarkdownLanguage
impl Debug for MarkdownLanguage
Source§impl Default for MarkdownLanguage
impl Default for MarkdownLanguage
Source§impl Language for MarkdownLanguage
impl Language for MarkdownLanguage
Source§type SyntaxKind = MarkdownSyntaxKind
type SyntaxKind = MarkdownSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§impl<'config> Lexer<MarkdownLanguage> for MarkdownLexer<'config>
impl<'config> Lexer<MarkdownLanguage> for MarkdownLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, MarkdownLanguage>,
) -> LexOutput<MarkdownLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, MarkdownLanguage>, ) -> LexOutput<MarkdownLanguage>
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 MarkdownLanguage
impl RefUnwindSafe for MarkdownLanguage
impl Send for MarkdownLanguage
impl Sync for MarkdownLanguage
impl Unpin for MarkdownLanguage
impl UnwindSafe for MarkdownLanguage
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