Expressions

- Broke up the parsing process into smaller steps to allow second pass
  parsing when "exp" tokens are expanded.
This commit is contained in:
Paul Beckingham
2011-06-11 13:44:11 -04:00
parent 8f20efc739
commit ad75ba49a4
4 changed files with 404 additions and 341 deletions

View File

@@ -42,24 +42,17 @@ public:
private:
void expand_sequence ();
void implicit_and ();
void expand_tag ();
void expand_pattern ();
void expand_attr ();
void expand_attmod ();
void expand_word ();
void expand_expression ();
void expand_tag (const std::string&);
void expand_attr (const std::string&);
void expand_attmod (const std::string&);
void expand_word (const std::string&);
void expand_pattern (const std::string&);
void to_infix ();
void to_postfix ();
bool is_new_style ();
void dump ();
void postfix ();
private:
Arguments _original;
Arguments _sequenced;
Arguments _infix;
Arguments _postfix;
Arguments _args;
};
#endif