pub struct PascalLanguage {}Expand description
Implementation of the Pascal language.
Implementations§
Trait Implementations§
Source§impl Builder<PascalLanguage> for PascalBuilder
impl Builder<PascalLanguage> for PascalBuilder
Source§fn build<'s, S: Source + ?Sized>(
&self,
_text: &S,
_edits: &[TextEdit],
_cache: &'s mut impl BuilderCache<PascalLanguage>,
) -> BuildOutput<PascalLanguage>
fn build<'s, S: Source + ?Sized>( &self, _text: &S, _edits: &[TextEdit], _cache: &'s mut impl BuilderCache<PascalLanguage>, ) -> BuildOutput<PascalLanguage>
Builds the higher-level structure (typically an AST) from the source text. Read more
Source§impl Debug for PascalLanguage
impl Debug for PascalLanguage
Source§impl Default for PascalLanguage
impl Default for PascalLanguage
Source§fn default() -> PascalLanguage
fn default() -> PascalLanguage
Returns the “default value” for a type. Read more
Source§impl HoverProvider<PascalLanguage> for PascalHoverProvider
Available on crate feature lsp only.
impl HoverProvider<PascalLanguage> for PascalHoverProvider
Available on crate feature
lsp only.Source§impl Language for PascalLanguage
impl Language for PascalLanguage
Source§const CATEGORY: LanguageCategory = LanguageCategory::Programming
const CATEGORY: LanguageCategory = LanguageCategory::Programming
The category of the language.
Source§type TokenType = PascalTokenType
type TokenType = PascalTokenType
The token type used to represent different token and node types in the language. Read more
Source§type ElementType = PascalElementType
type ElementType = PascalElementType
The element type used to represent composite structures in the parsed tree. Read more
Source§type TypedRoot = PascalRoot
type TypedRoot = PascalRoot
The root type for the parsed tree that represents the top-level structure of the language. Read more
Source§impl Lexer<PascalLanguage> for PascalLexer<'_>
impl Lexer<PascalLanguage> for PascalLexer<'_>
Source§fn lex<'a, S: Source + ?Sized>(
&self,
source: &'a S,
_edits: &[TextEdit],
cache: &'a mut impl LexerCache<PascalLanguage>,
) -> LexOutput<PascalLanguage>
fn lex<'a, S: Source + ?Sized>( &self, source: &'a S, _edits: &[TextEdit], cache: &'a mut impl LexerCache<PascalLanguage>, ) -> LexOutput<PascalLanguage>
Tokenizes the source text into a sequence of tokens. Read more
Source§impl Parser<PascalLanguage> for PascalParser
impl Parser<PascalLanguage> for PascalParser
Source§fn parse<'a, S: Source + ?Sized>(
&self,
text: &'a S,
edits: &[TextEdit],
cache: &'a mut impl ParseCache<PascalLanguage>,
) -> ParseOutput<'a, PascalLanguage>
fn parse<'a, S: Source + ?Sized>( &self, text: &'a S, edits: &[TextEdit], cache: &'a mut impl ParseCache<PascalLanguage>, ) -> ParseOutput<'a, PascalLanguage>
The core parsing entry point for converting tokens into a syntax tree. Read more
Auto Trait Implementations§
impl Freeze for PascalLanguage
impl RefUnwindSafe for PascalLanguage
impl Send for PascalLanguage
impl Sync for PascalLanguage
impl Unpin for PascalLanguage
impl UnsafeUnpin for PascalLanguage
impl UnwindSafe for PascalLanguage
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