Skip to content

SageBuilder::buildNamespaceDeclaration

tps (09/02/2009) : Added support for building namespaces

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgNamespaceDeclarationStatement*
buildNamespaceDeclaration(
    SgName const& name,
    SgScopeStatement* scope = NULL);

Return Value

This class represents the concept of a C++ namespace declaration.

Parameters

Name

Description

name

This class represents strings within the IR nodes.

scope

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

Created with MrDocs