Skip to content

SageBuilder::buildNonrealDecl

Build a declaration of a non-real class or class-member in an explicit, non-null lexical declaration scope. A null child scope requests creation of a new owned child declaration scope.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgNonrealDecl*
buildNonrealDecl(
    SgName const& name,
    SgDeclarationScope* scope,
    SgDeclarationScope* child_scope = NULL);

Parameters

Name Description
name String-backed name value used by AST nodes.

Created with MrDocs