pub struct JuliaLanguage {
pub allow_comment: bool,
}Expand description
Julia 语言实现
Fields§
§allow_comment: boolTrait Implementations§
Source§impl<'config> Builder<JuliaLanguage> for JuliaBuilder<'config>
impl<'config> Builder<JuliaLanguage> for JuliaBuilder<'config>
Source§fn build<'a, S: Source + ?Sized>(
&self,
source: &S,
edits: &[TextEdit],
_cache: &'a mut impl BuilderCache<JuliaLanguage>,
) -> OakDiagnostics<JuliaRoot>
fn build<'a, S: Source + ?Sized>( &self, source: &S, edits: &[TextEdit], _cache: &'a mut impl BuilderCache<JuliaLanguage>, ) -> OakDiagnostics<JuliaRoot>
Builds the structure from the source text.
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§const CATEGORY: LanguageCategory = LanguageCategory::Programming
const CATEGORY: LanguageCategory = LanguageCategory::Programming
The category of the language.
Source§type TokenType = JuliaSyntaxKind
type TokenType = JuliaSyntaxKind
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = JuliaSyntaxKind
type ElementType = JuliaSyntaxKind
The element type used to represent composite structures in the parsed tree. Read more
Source§impl<'config> Lexer<JuliaLanguage> for JuliaLexer<'config>
impl<'config> Lexer<JuliaLanguage> for JuliaLexer<'config>
Source§fn lex<'a, S: Source + ?Sized>(
&self,
source: &'a S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<JuliaLanguage>,
) -> LexOutput<JuliaLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &'a S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<JuliaLanguage>, ) -> LexOutput<JuliaLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Source§impl<'config> Parser<JuliaLanguage> for JuliaParser<'config>
impl<'config> Parser<JuliaLanguage> for JuliaParser<'config>
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<JuliaLanguage>,
) -> ParseOutput<'a, JuliaLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<JuliaLanguage>, ) -> ParseOutput<'a, JuliaLanguage>
The core parsing entry point. 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