pub struct JavaLanguage;Trait Implementations§
Source§impl Clone for JavaLanguage
impl Clone for JavaLanguage
Source§fn clone(&self) -> JavaLanguage
fn clone(&self) -> JavaLanguage
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 Debug for JavaLanguage
impl Debug for JavaLanguage
Source§impl Default for JavaLanguage
impl Default for JavaLanguage
Source§fn default() -> JavaLanguage
fn default() -> JavaLanguage
Returns the “default value” for a type. Read more
Source§impl Hash for JavaLanguage
impl Hash for JavaLanguage
Source§impl Language for JavaLanguage
impl Language for JavaLanguage
Source§type SyntaxKind = JavaSyntaxKind
type SyntaxKind = JavaSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§impl<'config> Lexer<JavaLanguage> for JavaLexer<'config>
impl<'config> Lexer<JavaLanguage> for JavaLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, JavaLanguage>,
) -> LexOutput<JavaLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, JavaLanguage>, ) -> LexOutput<JavaLanguage>
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
Source§impl Ord for JavaLanguage
impl Ord for JavaLanguage
Source§fn cmp(&self, other: &JavaLanguage) -> Ordering
fn cmp(&self, other: &JavaLanguage) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for JavaLanguage
impl PartialEq for JavaLanguage
Source§impl PartialOrd for JavaLanguage
impl PartialOrd for JavaLanguage
impl Copy for JavaLanguage
impl Eq for JavaLanguage
impl StructuralPartialEq for JavaLanguage
Auto Trait Implementations§
impl Freeze for JavaLanguage
impl RefUnwindSafe for JavaLanguage
impl Send for JavaLanguage
impl Sync for JavaLanguage
impl Unpin for JavaLanguage
impl UnwindSafe for JavaLanguage
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