// Copyright {Jagger Software Limited} 2003 #ifndef GRAMMAR_UNNAMED_SYMBOL_DEFINITION_INCLUDED #define GRAMMAR_UNNAMED_SYMBOL_DEFINITION_INCLUDED #include "grammar/symbol_definition.hpp" #include namespace grammar { class unnamed_symbol_definition // {abstract} : public symbol_definition // {abstract} { protected: // 'tors unnamed_symbol_definition(const key_type & key, const char * name, const char * value); unnamed_symbol_definition(const unnamed_symbol_definition &); ~unnamed_symbol_definition(); public: // attributes const char * const value; // eg "0123456789" const size_t size; // eg 10 == strlen(value) public: // iteration const char * begin() const; const char * end() const; private: // interface only void write(::std::ostream &) const; }; } #endif