A const is a name with a value and declared type.
| Public Member functions Summary: | |
| constructor | Const(SourceFile* file, int line, const std::string& type, const ScopedName& name, Types::Type* ctype, const std::string& value) Constructor [Source] |
| virtual void | accept(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::string | m_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 | |