Commit graph

275 commits

Author SHA1 Message Date
Paul Beckingham
97bcfd3006 CLI2: Fixed bug where all FILTER args were tagged with 'ID' 2015-06-20 11:15:24 -07:00
Paul Beckingham
a21767aa15 CLI2: Added ::desugarFilterTags 2015-06-20 11:14:37 -07:00
Paul Beckingham
040f990bd1 CLI2: Removed unnecessary tagging, given Lexer::Type 2015-06-20 10:54:20 -07:00
Paul Beckingham
c44b155e97 CLI2: Added ::insertIDExpr
- Converted ::_id_ranges to std::vector <std::pair <std::string, std::string>>,
  which reduced the nubmer of string->int conversions, and the need for integer
  formatting.
2015-06-20 10:47:02 -07:00
Paul Beckingham
c49b9f352c CLI2: Removed unused ::isAttribute method 2015-06-20 10:03:54 -07:00
Paul Beckingham
b80c103043 CLI2: Removed unused members _strict, _terminated 2015-06-20 10:01:12 -07:00
Paul Beckingham
0ef3cff4c6 CLI2: Removed unused A::attribute methods 2015-06-20 09:59:11 -07:00
Paul Beckingham
f0d3e77608 CLI2: Removed unused ::isName method 2015-06-20 09:53:46 -07:00
Paul Beckingham
bf2720a59b CLI2: Removed unused ::isOperator method 2015-06-20 09:52:15 -07:00
Paul Beckingham
2d453f5f88 CLI2: Removed unused ::isSubstitution method 2015-06-20 09:51:01 -07:00
Paul Beckingham
014baa4622 CLI2: Removed unused ::isPattern method 2015-06-20 09:49:26 -07:00
Paul Beckingham
6fdd5f8053 CLI2: Removed unused ::isTerminator method 2015-06-20 09:47:47 -07:00
Paul Beckingham
49decfec2a CLI2: Remvoed unused ::isTag method 2015-06-20 09:46:55 -07:00
Paul Beckingham
072f966099 CLI2: Removed unused ::isCommand method 2015-06-20 09:43:31 -07:00
Paul Beckingham
e67b812d35 CLI2: Removed unused ::isID method 2015-06-20 09:41:58 -07:00
Paul Beckingham
f2b5fb6d93 CLI2: Removed unused ::isIDSequence method 2015-06-20 09:39:07 -07:00
Paul Beckingham
3782f37d9d CLI2: Removed unused ::isUUID method 2015-06-20 09:36:25 -07:00
Paul Beckingham
c32106e107 CLI2: Removed debug diagnostics for ::analyze 2015-06-20 09:34:36 -07:00
Paul Beckingham
b9a1ebc393 CLI2: Removed unused ::getFilter method 2015-06-20 09:31:19 -07:00
Paul Beckingham
e8a9e5bc32 CLI2: Removed unused ::applyOverrides method 2015-06-20 09:29:54 -07:00
Paul Beckingham
17f4b50aa7 CLI2: Removed unused ::add method 2015-06-20 09:28:25 -07:00
Paul Beckingham
2c4cd8b06a CLI2: Removed unused ::initialize method 2015-06-20 09:26:53 -07:00
Paul Beckingham
82cf7155cc CLI2: Disagnostic formatting 2015-06-20 09:25:03 -07:00
Paul Beckingham
d6eae96689 CLI2: Removed unused constructors 2015-06-20 09:23:36 -07:00
Paul Beckingham
b62896e67c CLI2: Added ID ranges and UUID lists to ::dump 2015-06-20 09:20:12 -07:00
Paul Beckingham
035b7d5c5e CLI2: Eliminate compiler warnings by adding missing diagnostics 2015-06-20 08:57:03 -07:00
Paul Beckingham
d92a6c3ee8 CLI2: Added ::findUUIDs 2015-06-20 06:49:30 -07:00
Paul Beckingham
d97aab799a CLI2: Implemented ::findIDs using Lexer::Type::set 2015-06-19 23:40:52 -07:00
Paul Beckingham
275548d6ed CLI2: Removed old implementation from ::prepareFilter 2015-06-19 12:38:49 -07:00
Paul Beckingham
4c55e7ef3d CLI2: Removed obsolete ::categorize method 2015-06-19 12:35:04 -07:00
Paul Beckingham
3636de11c8 CLI2: Removed obsolete ::analyze method 2015-06-19 12:33:06 -07:00
Paul Beckingham
c696a1748a CLI2: Implemented FILTER/MODIFICATION categorization 2015-06-19 10:18:41 -07:00
Paul Beckingham
6c0ba77204 CLI2: Added ::prepareFilter for the deferred parsing of filters 2015-06-19 10:15:01 -07:00
Paul Beckingham
12825c5205 CLI2: Added ::getWords and ::getCommand variations
- ::getWords (false) now returns an unfiltered list of command line args,
  specifically any rc.<name>:<value> or rc:<file> args are left uninterpreted.
- ::getCommand (false) now returns the raw command, not the canonical command.
2015-06-17 04:14:37 -04:00
Paul Beckingham
40d019c249 CLI2: ::defaultCommand now expands both _args and _original_args 2015-06-16 21:39:51 -04:00
Paul Beckingham
9ea2702696 CLI2: ::aliasExpansion now expands in both _args and _original_args 2015-06-16 21:39:16 -04:00
Paul Beckingham
bb283de1dd CLI2: Modified ::getWords to ignore either raw or canonicalized command 2015-06-16 21:17:19 -04:00
Paul Beckingham
ba63472068 CLI2: Added ::getCommandRaw
- Used when the canonicalized form is not wanted - just the raw.
2015-06-16 21:15:34 -04:00
Paul Beckingham
687e7c5e70 CLI2: Added ::getWords, done properly 2015-06-14 23:16:00 -04:00
Paul Beckingham
a6c99f3ba5 CLI2: Added ::getCommand 2015-06-14 20:54:01 -04:00
Paul Beckingham
323674b08d CLI2: Added ::getBinary 2015-06-14 20:45:06 -04:00
Paul Beckingham
f59724297f CLI2: Added ::defaultCommand 2015-06-14 17:49:16 -04:00
Paul Beckingham
81844753fd CLI2: Removed unused include 2015-06-14 17:48:41 -04:00
Paul Beckingham
778bd4ae2f CLI2: Simplified A2::dump by removing useless node name 2015-06-14 17:47:53 -04:00
Paul Beckingham
68ac07080c CLI2: ::findCommand now return a bool indicating what happened. 2015-06-14 17:45:18 -04:00
Paul Beckingham
9af18183c9 CLI2: Eliminate useless ::disqualifySugarFree 2015-06-14 16:46:38 -04:00
Paul Beckingham
0aff903024 CLI2: Simplified all parsing by removing terminator considerations 2015-06-14 16:39:03 -04:00
Paul Beckingham
2cab600674 CLI2: Added ::handleTerminator
- CLI2::handleTerminator removes all terminator arguments it finds
  and downgrades all subsequent arguments to Lexer::Type::word. This
  simplifies all further processing.
2015-06-14 16:33:34 -04:00
Paul Beckingham
370df8e07f CLI2: Added A::A default ctor 2015-06-14 16:32:44 -04:00
Paul Beckingham
d1e7537e76 CLI2: Simplified ::findCommand 2015-06-14 15:38:27 -04:00