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