mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
c344c07579
commit
91225d808f
6 changed files with 109 additions and 1076 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue