pub struct PurescriptLanguage {
pub config: (),
}Expand description
PureScript 语言实现
Fields§
§config: ()语言配置
Trait Implementations§
Source§impl Clone for PurescriptLanguage
impl Clone for PurescriptLanguage
Source§fn clone(&self) -> PurescriptLanguage
fn clone(&self) -> PurescriptLanguage
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 PurescriptLanguage
impl Debug for PurescriptLanguage
Source§impl Default for PurescriptLanguage
impl Default for PurescriptLanguage
Source§impl Hash for PurescriptLanguage
impl Hash for PurescriptLanguage
Source§impl Language for PurescriptLanguage
impl Language for PurescriptLanguage
Source§type SyntaxKind = PurescriptSyntaxKind
type SyntaxKind = PurescriptSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§type TypedRoot = SourceFile
type TypedRoot = SourceFile
The root type for the parsed tree that represents the top-level structure of the language. Read more
Source§impl<'config> Lexer<PurescriptLanguage> for PurescriptLexer<'config>
impl<'config> Lexer<PurescriptLanguage> for PurescriptLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
changed: usize,
cache: IncrementalCache<'_, PurescriptLanguage>,
) -> LexOutput<PurescriptLanguage>
fn lex_incremental( &self, source: impl Source, changed: usize, cache: IncrementalCache<'_, PurescriptLanguage>, ) -> LexOutput<PurescriptLanguage>
Tokenizes source text using an existing cache for incremental parsing. Read more
Source§fn lex(
&self,
source: impl Source,
) -> OakDiagnostics<Vec<Token<<L as Language>::SyntaxKind>>>
fn lex( &self, source: impl Source, ) -> OakDiagnostics<Vec<Token<<L as Language>::SyntaxKind>>>
Tokenizes the given source text into a sequence of tokens. Read more
Source§impl PartialEq for PurescriptLanguage
impl PartialEq for PurescriptLanguage
impl Copy for PurescriptLanguage
impl Eq for PurescriptLanguage
impl StructuralPartialEq for PurescriptLanguage
Auto Trait Implementations§
impl Freeze for PurescriptLanguage
impl RefUnwindSafe for PurescriptLanguage
impl Send for PurescriptLanguage
impl Sync for PurescriptLanguage
impl Unpin for PurescriptLanguage
impl UnwindSafe for PurescriptLanguage
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