pub struct ObjectiveCLanguage {
pub arc_enabled: bool,
pub strict_mode: bool,
}Fields§
§arc_enabled: bool§strict_mode: boolImplementations§
Trait Implementations§
Source§impl<'config> Builder<ObjectiveCLanguage> for ObjectiveCBuilder<'config>
impl<'config> Builder<ObjectiveCLanguage> for ObjectiveCBuilder<'config>
Source§fn build<'a, S: Source + ?Sized>(
&self,
source: &S,
_edits: &[TextEdit],
_cache: &'a mut impl BuilderCache<ObjectiveCLanguage>,
) -> BuildOutput<ObjectiveCLanguage>
fn build<'a, S: Source + ?Sized>( &self, source: &S, _edits: &[TextEdit], _cache: &'a mut impl BuilderCache<ObjectiveCLanguage>, ) -> BuildOutput<ObjectiveCLanguage>
Builds the structure from the source text.
Source§impl Default for ObjectiveCLanguage
impl Default for ObjectiveCLanguage
Source§impl Language for ObjectiveCLanguage
impl Language for ObjectiveCLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Programming
const CATEGORY: LanguageCategory = LanguageCategory::Programming
The category of the language.
Source§type TokenType = ObjectiveCSyntaxKind
type TokenType = ObjectiveCSyntaxKind
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = ObjectiveCSyntaxKind
type ElementType = ObjectiveCSyntaxKind
The element type used to represent composite structures in the parsed tree. 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<'a, S: Source + ?Sized>(
&self,
source: &'a S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<ObjectiveCLanguage>,
) -> LexOutput<ObjectiveCLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &'a S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<ObjectiveCLanguage>, ) -> LexOutput<ObjectiveCLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Source§impl<'config> Parser<ObjectiveCLanguage> for ObjectiveCParser<'config>
impl<'config> Parser<ObjectiveCLanguage> for ObjectiveCParser<'config>
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<ObjectiveCLanguage>,
) -> ParseOutput<'a, ObjectiveCLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<ObjectiveCLanguage>, ) -> ParseOutput<'a, ObjectiveCLanguage>
The core parsing entry point. 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