Enumerator declaration. This is a name with a value in the containing scope. Enumerators only appear inside Enums via their enumerators() attribute.
Public Typedefs Summary: | |
std::vector<Enumerator*> | vector Type of a vector of Enumerator objects [Source] |
Public Member functions Summary: | |
constructor | Enumerator(SourceFile* file, int line, const std::string& type, const ScopedName& name, const std::string& value) Constructor [Source] |
virtual void | accept(Visitor*) Accept the given AST::Visitor [Source] |
const std::string& | value() Returns the value of this enumerator [Source] |
Private Data members Summary: | |
std::string | m_value The value of this enumerator [Source] |
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 |