Struct ra_ap_parser::Reparser
source · [−]pub struct Reparser(_);Expand description
A parsing function for a specific braced-block.
Implementations
sourceimpl 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 RefUnwindSafe for Reparser
impl Send for Reparser
impl Sync for Reparser
impl Unpin for Reparser
impl UnwindSafe for Reparser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more