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