Expression Refactor

- Arguments are now categorized as either "literal" or a specific
  category, with accompanying type.  Type is inferred for literals,
  and referenced for attributes.
This commit is contained in:
Paul Beckingham 2011-08-20 14:02:48 -04:00
parent a2a9bfc933
commit 438e65036b
3 changed files with 124 additions and 100 deletions

View file

@ -75,11 +75,11 @@ public:
const A3 sequence (const A3&) const;
const A3 postfix (const A3&) const;
static bool is_attr (Nibbler&, std::string&);
static bool is_attmod (Nibbler&, std::string&);
static bool is_attr (Nibbler&, Arg&);
static bool is_attmod (Nibbler&, Arg&);
static bool is_attribute (const std::string&, std::string&);
static bool is_modifier (const std::string&, std::string&);
static bool is_dom (Nibbler&, std::string&);
static bool is_dom (Nibbler&, Arg&);
static bool is_duration (Nibbler&, std::string&);
static bool is_pattern (Nibbler&, std::string&);
static bool is_subst (Nibbler&, std::string&);