pub struct Reparser(/* private fields */);
Expand description
A parsing function for a specific braced-block.
Implementations§
source§impl Reparser
impl Reparser
sourcepub fn for_node(
node: SyntaxKind,
first_child: Option<SyntaxKind>,
parent: Option<SyntaxKind>,
) -> Option<Reparser>
pub fn for_node( node: SyntaxKind, first_child: Option<SyntaxKind>, parent: Option<SyntaxKind>, ) -> Option<Reparser>
If the node is a braced block, return the corresponding Reparser
.
Auto Trait Implementations§
impl Freeze for Reparser
impl RefUnwindSafe for Reparser
impl Send for Reparser
impl Sync for Reparser
impl Unpin for Reparser
impl UnwindSafe for Reparser
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