Skip to content

SageInterface::deepCopyNodeWithIdentityMap

Deep copy an arbitrary subtree and return the copy transaction's exact original‐to‐copy identity map. Consumers must use this map instead of reconstructing correspondence from traversal order or spelling.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

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

Return Value

This class represents the base class for all IR nodes within Sage III.

Parameters

Name

Description

subtree

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs