pub struct JasmBuilder<'config> { /* private fields */ }Expand description
JASM 语言的 AST 构建器
Implementations§
Source§impl<'config> JasmBuilder<'config>
impl<'config> JasmBuilder<'config>
pub fn new(config: &'config JasmLanguage) -> Self
Trait Implementations§
Source§impl<'config> Builder<JasmLanguage> for JasmBuilder<'config>
impl<'config> Builder<JasmLanguage> for JasmBuilder<'config>
Source§fn build<'a, S: Source + ?Sized>(
&self,
source: &'a S,
edits: &[TextEdit],
cache: &'a mut impl BuilderCache<JasmLanguage>,
) -> OakDiagnostics<JasmRoot>
fn build<'a, S: Source + ?Sized>( &self, source: &'a S, edits: &[TextEdit], cache: &'a mut impl BuilderCache<JasmLanguage>, ) -> OakDiagnostics<JasmRoot>
Builds the structure from the source text.
Source§impl<'config> Clone for JasmBuilder<'config>
impl<'config> Clone for JasmBuilder<'config>
Source§fn clone(&self) -> JasmBuilder<'config>
fn clone(&self) -> JasmBuilder<'config>
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 moreAuto Trait Implementations§
impl<'config> Freeze for JasmBuilder<'config>
impl<'config> RefUnwindSafe for JasmBuilder<'config>
impl<'config> Send for JasmBuilder<'config>
impl<'config> Sync for JasmBuilder<'config>
impl<'config> Unpin for JasmBuilder<'config>
impl<'config> UnwindSafe for JasmBuilder<'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