pub struct ObjectiveCLanguage {
pub arc_enabled: bool,
pub strict_mode: bool,
}Fields§
§arc_enabled: bool§strict_mode: boolImplementations§
Trait Implementations§
Source§impl Default for ObjectiveCLanguage
impl Default for ObjectiveCLanguage
Source§impl Language for ObjectiveCLanguage
impl Language for ObjectiveCLanguage
Source§type SyntaxKind = ObjectiveCLanguageSyntaxKind
type SyntaxKind = ObjectiveCLanguageSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§type TypedRoot = ObjectiveCRoot
type TypedRoot = ObjectiveCRoot
The root type for the parsed tree that represents the top-level structure of the language. Read more
Source§impl<'config> Lexer<ObjectiveCLanguage> for ObjectiveCLexer<'config>
impl<'config> Lexer<ObjectiveCLanguage> for ObjectiveCLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, ObjectiveCLanguage>,
) -> LexOutput<ObjectiveCLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, ObjectiveCLanguage>, ) -> LexOutput<ObjectiveCLanguage>
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 ObjectiveCLanguage
impl RefUnwindSafe for ObjectiveCLanguage
impl Send for ObjectiveCLanguage
impl Sync for ObjectiveCLanguage
impl Unpin for ObjectiveCLanguage
impl UnwindSafe for ObjectiveCLanguage
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