Skip to content

SageBuilder::beginSourceDeclaratorScopeConstruction

Begin construction of a non-function declaration whose TypeLoc owns nested source-written tags. Both nodes must be fresh and the scope must be empty; finishSourceDeclaratorScopeConstruction() hard-validates the populated source children before the declaration can be published.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
void
beginSourceDeclaratorScopeConstruction(
    SgDeclarationStatement* owner,
    SgDeclarationScope* scope);

Parameters

Name Description
owner This class represents the concept of a declaration statement.

Created with MrDocs