[−][src]Function ra_ap_syntax::algo::insert_children
pub fn insert_children(
parent: &SyntaxNode,
position: InsertPosition<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> SyntaxNode
Adds specified children (tokens or nodes) to the current node at the specific position.
This is a type-unsafe low-level editing API, if you need to use it, prefer to create a type-safe abstraction on top of it instead.