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

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:
 constructorEnumerator(SourceFile* file, int line, const std::string& type, const ScopedName& name, const std::string& value)
Constructor [Source]
virtual voidaccept(Visitor*)
Accept the given AST::Visitor [Source]
 const std::string&value()
Returns the value of this enumerator [Source]

Private Data members Summary:
std::stringm_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