Function SgNodeHelper::isAstRoot

Function SgNodeHelper::isAstRoot#

Function Documentation#

bool SgNodeHelper::isAstRoot(SgNode *node)#

checks whether the node ‘node’ is the root node of the AST by using the get_parent function.