pub struct PowerShellBuilder<'config> { /* private fields */ }Implementations§
Source§impl<'config> PowerShellBuilder<'config>
impl<'config> PowerShellBuilder<'config>
pub fn new(config: &'config PowerShellLanguage) -> Self
Trait Implementations§
Source§impl<'config> Builder<PowerShellLanguage> for PowerShellBuilder<'config>
impl<'config> Builder<PowerShellLanguage> for PowerShellBuilder<'config>
Source§fn build<'a, S: Source + ?Sized>(
&self,
source: &S,
edits: &[TextEdit],
_cache: &'a mut impl BuilderCache<PowerShellLanguage>,
) -> OakDiagnostics<PowerShellRoot>
fn build<'a, S: Source + ?Sized>( &self, source: &S, edits: &[TextEdit], _cache: &'a mut impl BuilderCache<PowerShellLanguage>, ) -> OakDiagnostics<PowerShellRoot>
Builds the structure from the source text.
Auto Trait Implementations§
impl<'config> Freeze for PowerShellBuilder<'config>
impl<'config> RefUnwindSafe for PowerShellBuilder<'config>
impl<'config> Send for PowerShellBuilder<'config>
impl<'config> Sync for PowerShellBuilder<'config>
impl<'config> Unpin for PowerShellBuilder<'config>
impl<'config> UnwindSafe for PowerShellBuilder<'config>
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