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

A const is a name with a value and declared type.


Public Member functions Summary:
 constructorConst(SourceFile* file, int line, const std::string& type, const ScopedName& name, Types::Type* ctype, const std::string& value)
Constructor [Source]
virtual voidaccept(Visitor*)
Accept the given AST::Visitor [Source]
 Types::Type*ctype()
Returns the Type object of this const [Source]
 const std::string&value()
Returns the value of this enumerator [Source]

Private Data members Summary:
Types::Type*m_ctype
The const Type [Source]
std::stringm_value
The value of this enumerator [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