Skip to main content

insert_source

Function insert_source 

Source
pub fn insert_source(
    source: &str,
    file: &RelativePath,
    target: &NodeRef,
    position: InsertPosition,
    new_source: &str,
) -> Result<MutationResult, String>
Expand description

Insert source text relative to a target node.