Skip to content

SgVariableDeclaration::SgVariableDeclaration

All overloads of SgVariableDeclaration::SgVariableDeclaration

Constructor

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

SgVariableDeclaration(
    Sg_File_Info* info,
    SgName const& var_name,
    SgType* type,
    SgInitializer* initializer = NULL);

Parameters

Name Description
info The object to construct from
var_name String-backed name value used by AST nodes.
type This class represents the base class for all types.
initializer This class represents the notion of an initializer for a variable declaration or

Created with MrDocs