Skip to content

SageInterface::deepCopySemanticSubtree

Deep copy a frontend-owned semantic subtree while preserving its exact source-provenance classification. This is distinct from deepCopyNode(), which creates a new transformation output surface.

Synopses

Declared in <SageIII/sageInterface/sageInterface.h>

Deep copy a frontend-owned semantic subtree while preserving its exact source-provenance classification. This is distinct from deepCopyNode(), which creates a new transformation output surface.

[[visibility("default")]]
SgNode*
deepCopySemanticSubtree(SgNode const* subtree);

» more...

[[visibility("default")]]
SgNode*
deepCopySemanticSubtree(
    SgNode const* subtree,
    SgCopyHelp::copiedNodeMapType& identityMap);

» more...


Created with MrDocs