pub struct OrgModeBuilder {}Expand description
Org-mode AST builder.
Implementations§
Source§impl OrgModeBuilder
impl OrgModeBuilder
Sourcepub fn new(config: &OrgModeLanguage) -> Self
pub fn new(config: &OrgModeLanguage) -> Self
Creates a new OrgModeBuilder.
Creates a new OrgModeBuilder with the given language configuration.
Trait Implementations§
Source§impl Builder<OrgModeLanguage> for OrgModeBuilder
impl Builder<OrgModeLanguage> for OrgModeBuilder
Source§fn build<'a, S: Source + ?Sized>(
&self,
_source: &S,
_edits: &[TextEdit],
_cache: &'a mut impl BuilderCache<OrgModeLanguage>,
) -> OakDiagnostics<()>
fn build<'a, S: Source + ?Sized>( &self, _source: &S, _edits: &[TextEdit], _cache: &'a mut impl BuilderCache<OrgModeLanguage>, ) -> OakDiagnostics<()>
Builds the higher-level structure (typically an AST) from the source text. Read more
Auto Trait Implementations§
impl Freeze for OrgModeBuilder
impl RefUnwindSafe for OrgModeBuilder
impl Send for OrgModeBuilder
impl Sync for OrgModeBuilder
impl Unpin for OrgModeBuilder
impl UnsafeUnpin for OrgModeBuilder
impl UnwindSafe for OrgModeBuilder
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