[−][src]Trait ra_ap_syntax::ast::edit::AstNodeEdit
Provided methods
#[must_use]fn insert_children(
&self,
position: InsertPosition<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
&self,
position: InsertPosition<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
#[must_use]fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
#[must_use]fn replace_descendant<D: AstNode>(&self, old: D, new: D) -> Self
#[must_use]fn replace_descendants<D: AstNode>(
&self,
replacement_map: impl IntoIterator<Item = (D, D)>
) -> Self
&self,
replacement_map: impl IntoIterator<Item = (D, D)>
) -> Self