Skip to content

SgNodeHelper::numChildren

returns the number of children as int (intentionally not as t_size) ensures that the number of children fits into an int, otherwise throws exception.

Synopsis

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

int
numChildren(SgNode* node);

Parameters

Name

Description

node

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

Created with MrDocs