pub struct IniLanguage {}Expand description
Ini 语言定义
Implementations§
Source§impl IniLanguage
impl IniLanguage
Trait Implementations§
Source§impl<'config> Builder<IniLanguage> for IniBuilder<'config>
impl<'config> Builder<IniLanguage> for IniBuilder<'config>
Source§fn build<'a, S: Source + ?Sized>(
&self,
source: &S,
edits: &[TextEdit],
_cache: &'a mut impl BuilderCache<IniLanguage>,
) -> OakDiagnostics<IniRoot>
fn build<'a, S: Source + ?Sized>( &self, source: &S, edits: &[TextEdit], _cache: &'a mut impl BuilderCache<IniLanguage>, ) -> OakDiagnostics<IniRoot>
Builds the structure from the source text.
Source§impl Clone for IniLanguage
impl Clone for IniLanguage
Source§fn clone(&self) -> IniLanguage
fn clone(&self) -> IniLanguage
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 IniLanguage
impl Debug for IniLanguage
Source§impl Default for IniLanguage
impl Default for IniLanguage
Source§fn default() -> IniLanguage
fn default() -> IniLanguage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IniLanguage
impl<'de> Deserialize<'de> for IniLanguage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for IniLanguage
impl Hash for IniLanguage
Source§impl HoverProvider<IniLanguage> for IniHoverProvider
impl HoverProvider<IniLanguage> for IniHoverProvider
Source§impl Language for IniLanguage
impl Language for IniLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Config
const CATEGORY: LanguageCategory = LanguageCategory::Config
The category of the language.
Source§type TokenType = IniSyntaxKind
type TokenType = IniSyntaxKind
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = IniSyntaxKind
type ElementType = IniSyntaxKind
The element type used to represent composite structures in the parsed tree. Read more
Source§impl<'config> Lexer<IniLanguage> for IniLexer<'config>
impl<'config> Lexer<IniLanguage> for IniLexer<'config>
Source§fn lex<'a, S: Source + ?Sized>(
&self,
source: &S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<IniLanguage>,
) -> LexOutput<IniLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<IniLanguage>, ) -> LexOutput<IniLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Source§impl<'config> Parser<IniLanguage> for IniParser<'config>
impl<'config> Parser<IniLanguage> for IniParser<'config>
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<IniLanguage>,
) -> ParseOutput<'a, IniLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<IniLanguage>, ) -> ParseOutput<'a, IniLanguage>
The core parsing entry point. Read more
Source§impl PartialEq for IniLanguage
impl PartialEq for IniLanguage
Source§impl Serialize for IniLanguage
impl Serialize for IniLanguage
impl Copy for IniLanguage
impl Eq for IniLanguage
impl StructuralPartialEq for IniLanguage
Auto Trait Implementations§
impl Freeze for IniLanguage
impl RefUnwindSafe for IniLanguage
impl Send for IniLanguage
impl Sync for IniLanguage
impl Unpin for IniLanguage
impl UnwindSafe for IniLanguage
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