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