Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
namespace Synopsis::Parser::C++::AST
class Variable
Files: Synopsis/Parser/C++/syn/ast.hh
Variable-inheritance Scopes/Synopsis/Parser/C++/AST/Declaration.html Scopes/Synopsis/Parser/C++/FakeGC/cleanup.html

Variable declaration


Public Typedefs Summary:
std::vector<size_t>Sizes
The type of the vector of sizes [Source]

Public Member functions Summary:
 constructorVariable(SourceFile* file, int line, const std::string& type, const ScopedName& name, Types::Type* vtype, bool constr)
Constructor [Source]
 destructor~Variable()
Destructor [Source]
virtual voidaccept(Visitor*)
Accepts the given AST::Visitor [Source]
 Types::Type*vtype()
Returns the Type object of this variable [Source]
 boolconstructed()
Returns true if the Type object was constructed inside the variable [Source]
 Sizes&sizes()
Returns the array sizes vector [Source]

Private Data members Summary:
Types::Type*m_vtype
The variable Type [Source]
boolm_constr
True if constructed [Source]
Sizesm_sizes
Vector of array sizes. [Source]

Public Typedefs Inherited from Declaration
vector

Public Member functions Inherited from Declaration
name, name, file, set_file, line, type, set_type, access, set_access, comments, comments, declared, declared

Public Data members Inherited from FakeGC::cleanup
cleanup_next

Private Data member Details:
Sizes m_sizes

Vector of array sizes. zero length indicates not an array.