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