pub struct PrologLanguage;Trait Implementations§
Source§impl Clone for PrologLanguage
impl Clone for PrologLanguage
Source§fn clone(&self) -> PrologLanguage
fn clone(&self) -> PrologLanguage
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 PrologLanguage
impl Debug for PrologLanguage
Source§impl Default for PrologLanguage
impl Default for PrologLanguage
Source§fn default() -> PrologLanguage
fn default() -> PrologLanguage
Returns the “default value” for a type. Read more
Source§impl Hash for PrologLanguage
impl Hash for PrologLanguage
Source§impl Language for PrologLanguage
impl Language for PrologLanguage
Source§type SyntaxKind = PrologSyntaxKind
type SyntaxKind = PrologSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§type TypedRoot = SourceFile
type TypedRoot = SourceFile
The root type for the parsed tree that represents the top-level structure of the language. Read more
Source§impl<'config> Lexer<PrologLanguage> for PrologLexer<'config>
impl<'config> Lexer<PrologLanguage> for PrologLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
_changed: usize,
_cache: IncrementalCache<'_, PrologLanguage>,
) -> LexOutput<PrologLanguage>
fn lex_incremental( &self, source: impl Source, _changed: usize, _cache: IncrementalCache<'_, PrologLanguage>, ) -> LexOutput<PrologLanguage>
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 PrologLanguage
impl Ord for PrologLanguage
Source§fn cmp(&self, other: &PrologLanguage) -> Ordering
fn cmp(&self, other: &PrologLanguage) -> 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 PrologLanguage
impl PartialEq for PrologLanguage
Source§impl PartialOrd for PrologLanguage
impl PartialOrd for PrologLanguage
impl Copy for PrologLanguage
impl Eq for PrologLanguage
impl StructuralPartialEq for PrologLanguage
Auto Trait Implementations§
impl Freeze for PrologLanguage
impl RefUnwindSafe for PrologLanguage
impl Send for PrologLanguage
impl Sync for PrologLanguage
impl Unpin for PrologLanguage
impl UnwindSafe for PrologLanguage
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