pub struct YamlLanguage {}Implementations§
Source§impl YamlLanguage
impl YamlLanguage
Trait Implementations§
Source§impl Clone for YamlLanguage
impl Clone for YamlLanguage
Source§fn clone(&self) -> YamlLanguage
fn clone(&self) -> YamlLanguage
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 YamlLanguage
impl Debug for YamlLanguage
Source§impl Default for YamlLanguage
impl Default for YamlLanguage
Source§fn default() -> YamlLanguage
fn default() -> YamlLanguage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for YamlLanguage
impl<'de> Deserialize<'de> for YamlLanguage
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 YamlLanguage
impl Hash for YamlLanguage
Source§impl Language for YamlLanguage
impl Language for YamlLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Config
const CATEGORY: LanguageCategory = LanguageCategory::Config
The category of the language.
Source§type TokenType = YamlSyntaxKind
type TokenType = YamlSyntaxKind
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = YamlSyntaxKind
type ElementType = YamlSyntaxKind
The element type used to represent composite structures in the parsed tree. Read more
Source§impl<'config> Lexer<YamlLanguage> for YamlLexer<'config>
impl<'config> Lexer<YamlLanguage> for YamlLexer<'config>
Source§fn lex<'a, S: Source + ?Sized>(
&self,
source: &'a S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<YamlLanguage>,
) -> LexOutput<YamlLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &'a S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<YamlLanguage>, ) -> LexOutput<YamlLanguage>
Tokenizes the given source text into a sequence of tokens. Read more
Source§impl<'config> Parser<YamlLanguage> for YamlParser<'config>
impl<'config> Parser<YamlLanguage> for YamlParser<'config>
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<YamlLanguage>,
) -> ParseOutput<'a, YamlLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<YamlLanguage>, ) -> ParseOutput<'a, YamlLanguage>
The core parsing entry point. Read more
Source§impl PartialEq for YamlLanguage
impl PartialEq for YamlLanguage
Source§impl Serialize for YamlLanguage
impl Serialize for YamlLanguage
impl Copy for YamlLanguage
impl Eq for YamlLanguage
impl StructuralPartialEq for YamlLanguage
Auto Trait Implementations§
impl Freeze for YamlLanguage
impl RefUnwindSafe for YamlLanguage
impl Send for YamlLanguage
impl Sync for YamlLanguage
impl Unpin for YamlLanguage
impl UnwindSafe for YamlLanguage
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