1 #ifndef VARIABLE_H_INCLUDED_
2 #define VARIABLE_H_INCLUDED_
29 explicit Variable(SgVariableDefinition *ast_node);
std::vector< Variable * >::const_iterator VariableVectorConstIter
Definition: variable.h:16
virtual std::string get_ast_type_name()
Returns the type of the variable definition.
Definition: variable.cpp:10
Variable(SgVariableDefinition *ast_node)
default constructor
Definition: variable.cpp:5
std::vector< Variable * > VariableVector
Definition: class.h:46
bool is_reference()
returns true if the variable is a reference
Definition: variable.cpp:21
bool is_pointer()
returns true if the variable is a pointer
Definition: variable.cpp:37
std::vector< Variable * >::iterator VariableVectorIter
Definition: variable.h:15
bool is_static()
returns true if the variable is a static variable
Definition: variable.cpp:29
This class represents a variable in a module.
Definition: variable.h:22