pub struct PowerShellLanguage;Trait Implementations§
Source§impl Debug for PowerShellLanguage
impl Debug for PowerShellLanguage
Source§impl Default for PowerShellLanguage
impl Default for PowerShellLanguage
Source§fn default() -> PowerShellLanguage
fn default() -> PowerShellLanguage
Returns the “default value” for a type. Read more
Source§impl Language for PowerShellLanguage
impl Language for PowerShellLanguage
Source§type SyntaxKind = PowerShellSyntaxKind
type SyntaxKind = PowerShellSyntaxKind
The kind kind type used to represent different kind and node types in the language. Read more
Source§type TypedRoot = PowerShellRoot
type TypedRoot = PowerShellRoot
The root type for the parsed tree that represents the top-level structure of the language. Read more
Source§impl<'config> Lexer<PowerShellLanguage> for PowerShellLexer<'config>
impl<'config> Lexer<PowerShellLanguage> for PowerShellLexer<'config>
Source§fn lex_incremental(
&self,
source: impl Source,
_changed: usize,
_cache: IncrementalCache<'_, PowerShellLanguage>,
) -> LexOutput<PowerShellLanguage>
fn lex_incremental( &self, source: impl Source, _changed: usize, _cache: IncrementalCache<'_, PowerShellLanguage>, ) -> LexOutput<PowerShellLanguage>
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
Auto Trait Implementations§
impl Freeze for PowerShellLanguage
impl RefUnwindSafe for PowerShellLanguage
impl Send for PowerShellLanguage
impl Sync for PowerShellLanguage
impl Unpin for PowerShellLanguage
impl UnwindSafe for PowerShellLanguage
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