Skip to content

RoseAst::iterator::parent

Parent AST node relative to the iteration.

Synopsis

Declared in <src/midend/abstractLayer/RoseAst.h>

SgNode*
parent() const;

Description

Returns the parent relative to the current iterator position, which might differ from the get_parent property of the current node. For instance, parent can return a non‐null pointer when the current node is null.

Return Value

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

Created with MrDocs