Skip to content

SageInterface::isStructurallyEquivalentAST

Compare node kinds, nesting, and null child positions in two ASTs.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

bool
isStructurallyEquivalentAST(
    SgNode* tree1,
    SgNode* tree2);

Parameters

Name Description
tree1 This class represents the base class for all IR nodes within Sage III.
tree2 This class represents the base class for all IR nodes within Sage III.

Created with MrDocs