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