Skip to content

SgNodeHelper::memberVariableDeclarationsList

Returns for a given class/struct/union a list with the variable declarations of the member variables. Note this is a filtered list returned by the SgType::returnDataMemberPointers function which also returns pointers to methods

Synopsis

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

std::list<SgVariableDeclaration*>
memberVariableDeclarationsList(SgClassType* sgType);

Return Value

A standard container with linear time access to elements, and fixed time insertion/deletion at any point in the sequence.

Created with MrDocs