pub struct DelphiLanguage {
pub strict_syntax: bool,
pub unicode_strings: bool,
}Expand description
Language definition for Delphi programming language
Fields§
§strict_syntax: boolWhether to enable strict syntax checking
unicode_strings: boolWhether to support Unicode strings
Trait Implementations§
Source§impl Clone for DelphiLanguage
impl Clone for DelphiLanguage
Source§fn clone(&self) -> DelphiLanguage
fn clone(&self) -> DelphiLanguage
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 DelphiLanguage
impl Debug for DelphiLanguage
Source§impl Default for DelphiLanguage
impl Default for DelphiLanguage
Source§impl Language for DelphiLanguage
impl Language for DelphiLanguage
Source§type SyntaxKind = DelphiSyntaxKind
type SyntaxKind = DelphiSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§type TypedRoot = DelphiRoot
type TypedRoot = DelphiRoot
The root type for the parsed tree that represents the top-level structure of the language. Read more
Source§impl<'config> Lexer<DelphiLanguage> for DelphiLexer<'config>
impl<'config> Lexer<DelphiLanguage> for DelphiLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, DelphiLanguage>,
) -> LexOutput<DelphiLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, DelphiLanguage>, ) -> LexOutput<DelphiLanguage>
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 DelphiLanguage
impl RefUnwindSafe for DelphiLanguage
impl Send for DelphiLanguage
impl Sync for DelphiLanguage
impl Unpin for DelphiLanguage
impl UnwindSafe for DelphiLanguage
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