Skip to content

SgNodeHelper::getFirstChild

returns the first child of an arbitrary AST node (throws exception if numChildren==0)

Synopsis

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

SgNode*
getFirstChild(SgNode* node);

Return Value

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

Parameters

Name

Description

node

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

Created with MrDocs