Expression reboot

- A3 now tracks whether a command is read-only, and builds filters accordingly.
- Implemented extract_filter, extract_modfications and extract_words stubs.
- Removed all E9 implementation details - this is going to be written from
  scratch.
This commit is contained in:
Paul Beckingham 2011-07-23 23:36:54 -04:00
parent c344c07579
commit 91225d808f
6 changed files with 109 additions and 1076 deletions

View file

@ -268,6 +268,17 @@ void Command::filter (std::vector <Task>& input, std::vector <Task>& output)
{
Timer timer ("Command::filter");
/**/
A3 filt = context.a3.extract_filter ();
filt.dump ("extract_filter");
A3 mods = context.a3.extract_modifications ();
mods.dump ("extract_modifications");
A3 words = context.a3.extract_words ();
words.dump ("extract_words");
/**/
Arguments f;
if (read_only ())
f = context.args.extract_read_only_filter ();
@ -293,6 +304,17 @@ void Command::filter (std::vector <Task>& output)
{
Timer timer ("Command::filter");
/**/
A3 filt = context.a3.extract_filter ();
filt.dump ("extract_filter");
A3 mods = context.a3.extract_modifications ();
mods.dump ("extract_modifications");
A3 words = context.a3.extract_words ();
words.dump ("extract_words");
/**/
Arguments f;
if (read_only ())
f = context.args.extract_read_only_filter ();