Commit graph

4950 commits

Author SHA1 Message Date
Paul Beckingham
06b41218c5 Parser
- ::findModifications scans all nodes.
2014-08-17 14:37:17 -04:00
Paul Beckingham
d9e26c3a95 Parser
- ::applyOverrides scans all nodes.
2014-08-17 14:36:55 -04:00
Paul Beckingham
a4b43c2604 Parser
- ::getOverrides scans all nodes.
2014-08-17 14:36:25 -04:00
Paul Beckingham
3eb611057d Parser
- When locating a command, all nodes must be scanned, not just the unknown ones.
2014-08-17 14:30:19 -04:00
Paul Beckingham
bea4c6fd77 Parser
- On initialization, bypass lexing for argv[0] (program name) and any
  'rc:' and 'rc.' arguments.
2014-08-17 14:29:25 -04:00
Paul Beckingham
a3d2750f40 Parser
- Converted all remaining methods to use collect.  Now there is full recursion
  everywhere, which means the parse tree can be arbitrarily deep.
2014-08-17 13:41:17 -04:00
Paul Beckingham
dff7dae3bc Parser
- Modified ::findMissingOperators to use collect.
2014-08-17 13:31:49 -04:00
Paul Beckingham
f4807db6d9 Parser
- Modified ::findPlainArgs to use collect.
2014-08-17 13:27:46 -04:00
Paul Beckingham
1f0ce08042 Parser
- Modified ::findStrayModifications to use collect.
2014-08-17 13:24:31 -04:00
Paul Beckingham
d7ba49084b Parser
- Modified ::findModifications to use collect.
2014-08-17 13:22:25 -04:00
Paul Beckingham
4425f5e142 Parser
- Modified ::findFilter to use collect.
2014-08-17 13:20:56 -04:00
Paul Beckingham
eb00230840 Parser
- Modified ::findIdSequence to use collect.
2014-08-17 13:17:43 -04:00
Paul Beckingham
9111866f80 Parser
- Modified ::findUUIDList to use collect.
2014-08-17 13:15:57 -04:00
Paul Beckingham
2018eae295 Parser
- Removed now-unused ::scan method, as this is no longer used.
2014-08-17 13:06:50 -04:00
Paul Beckingham
ca3b5c9a4d Parser
- Modified ::findOperator to use collect.
2014-08-17 12:40:14 -04:00
Paul Beckingham
a13c816919 Parser
- Modified ::findAttributeModifier to use collect.
2014-08-17 12:33:30 -04:00
Paul Beckingham
56ab8e7920 Parser
- Modified ::findAttribute to use collect.
2014-08-17 12:28:40 -04:00
Paul Beckingham
ed07e47135 Parser
- Modified ::findTag to use collect.
2014-08-17 12:25:08 -04:00
Paul Beckingham
6dd359e900 Parser
- Modified ::findPattern to use collect.
2014-08-17 12:22:03 -04:00
Paul Beckingham
a4f558ee1c Parser
- Converted ::findSubstitution to use collect.
2014-08-17 12:18:35 -04:00
Paul Beckingham
50ac189693 Parser
- Converted ::applyOverrides to use collect.
2014-08-17 12:18:01 -04:00
Paul Beckingham
bbff0123b0 Parser
- Modified ::resolveAliases to use collect.
2014-08-17 12:12:11 -04:00
Paul Beckingham
4645bbc85d Parser
- Modified ::findOverrides to use collect.
2014-08-17 12:10:51 -04:00
Paul Beckingham
f1a61aaeb6 Parser
- Modified ::findCommand to use collect.
2014-08-17 12:10:08 -04:00
Paul Beckingham
4ef7d9c7fb Parser
- Modified ::findTerminator to look at all nodes.
2014-08-17 12:08:56 -04:00
Paul Beckingham
fbf8550274 Parser
- ::findBinary diagnostics.
2014-08-17 12:07:31 -04:00
Paul Beckingham
d1e38a7843 Parser
- Converted ::findTerminator to use collect.
2014-08-17 11:56:34 -04:00
Paul Beckingham
b84736a05f Parser
- Added ::collect method for recursive node gathering that needs some local
  persistence.
2014-08-17 11:37:08 -04:00
Paul Beckingham
6a9cca82d7 Parser
- Converted ::findOperator to use recursive scan.
2014-08-17 01:33:41 -04:00
Paul Beckingham
34215449a8 Parser
- Converted ::findTag to use recursive scan.
2014-08-17 01:20:10 -04:00
Paul Beckingham
c681017961 Parser
- Converted ::findSubstitution to use recursive scan.
2014-08-17 01:17:05 -04:00
Paul Beckingham
0e86233a0a Parser
- Converted ::findPattern to use recursive scan.
2014-08-17 01:13:01 -04:00
Paul Beckingham
4b47229e8f Parser
- Marked ::resolveAliases as needing recursion.
2014-08-17 01:07:27 -04:00
Paul Beckingham
989c503446 Parser
- Converted ::findAttribute to use recusive ::scan.
2014-08-17 01:04:08 -04:00
Paul Beckingham
3a8d42dae7 Parser
- Converted ::findAttributeModifier to use the recursive scanner.
2014-08-17 00:49:20 -04:00
Paul Beckingham
24c2c0cbee Parser
- ::scan should skip nodes tagged with both TERMINATOR and TERMINATED.
2014-08-17 00:43:26 -04:00
Paul Beckingham
ccecec6895 Parser
- Lexemes not immediately recognized in ::initialize MUST be tagged with "?".
2014-08-17 00:42:23 -04:00
Paul Beckingham
3c612a8551 Parser
- Converted ::findTerminator to use the recursive scanner.
2014-08-17 00:41:11 -04:00
Paul Beckingham
fb32b160b8 Parser
- Corrected comment regarding instantly recognized lexemes in ::initialize.
2014-08-17 00:31:45 -04:00
Paul Beckingham
7848b9284d Parser
- Modified ::scan to be recursive, which will now allow arbitrary parse tree
  depth.
2014-08-17 00:26:41 -04:00
Paul Beckingham
3145134953 Parser
- Improved comment. It's an important comment.
2014-08-16 23:53:56 -04:00
Paul Beckingham
314ac28a0f Parser
- Implemented ::scan, which iterates over parse tree nodes and calls back.
  This method skips parent nodes, terminated nodes, and nodes without the '?'
  tag.
2014-08-16 23:53:22 -04:00
Paul Beckingham
1a17aac77b TW-1377
- TW-1377 Tags in default.command are treated as "operator text".
2014-08-16 16:38:04 -04:00
Paul Beckingham
b540257a34 Config
- The 'blocking' report has no business reporting a 'parent' column.
2014-08-16 16:20:14 -04:00
Paul Beckingham
5c6c14e21b TW-1381
- TW-1381 blocking report exits with "Unknown error" and exit code 3.
2014-08-16 16:14:28 -04:00
Paul Beckingham
77047cf07c Column
- Added a missing method to access Column::_name.
2014-08-16 16:12:46 -04:00
Paul Beckingham
b235b6ca60 Config
- Consistent ordering, for readability and easy comparison.
2014-08-16 14:44:56 -04:00
Paul Beckingham
69eb9e8df1 CmdDuplicate
- When duplicating a task, reset the ID, so that TDB2::add can set it properly.
2014-08-16 14:26:05 -04:00
Paul Beckingham
6faf6bb678 TDB2
- Now updates the task ID of any new task, therefore avoiding off-by-one
  errors that occur when code calls TDB2::next_id.
2014-08-16 14:20:00 -04:00
Paul Beckingham
45e6512c02 Unit Tests
- Updated uda_value.t to the new template.
2014-08-16 14:05:37 -04:00