Enhancement - Att::type

- Implemented Att::type to discern attribute types to assist with
  type-specific modifier evaluation.
- Fixed bug that required attributes to have specified values, whereas
  stating "name:" means no value for name.
This commit is contained in:
Paul Beckingham 2009-06-16 00:51:11 -04:00
parent db0d85f5e7
commit cdd07be331
3 changed files with 23 additions and 4 deletions

View file

@ -49,6 +49,7 @@ public:
static bool validNameValue (const std::string&, const std::string&, const std::string&);
static bool validNameValue (std::string&, std::string&, std::string&);
static bool validMod (const std::string&);
static std::string type (const std::string&);
void parse (const std::string&);
void parse (Nibbler&);
bool match (const Att&) const;