Skip to content

SageInterface::hasSimpleChildrenList

Check if a scope statement has a simple children statement list so insert additional statements under the scope is straightforward and unambiguous . for example, SgBasicBlock has a simple statement list while IfStmt does not.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
bool
hasSimpleChildrenList(SgScopeStatement* scope);

Parameters

Name

Description

scope

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs