- Stubbed methods for further parsing.
This commit is contained in:
Paul Beckingham 2014-10-14 00:43:50 -04:00
parent 1639e6bb68
commit b0cf4adc4e
2 changed files with 14 additions and 1 deletions

View file

@ -28,12 +28,17 @@
#include <iostream>
#include <Context.h>
#include <CLI.h>
#include <util.h>
#include <i18n.h>
extern Context context;
////////////////////////////////////////////////////////////////////////////////
CLI::CLI ()
: _program ("")
, _rc ("")
, _command ("")
, _readOnly (false)
{
}

View file

@ -38,10 +38,13 @@ public:
void alias (const std::string&, const std::string&);
void entity (const std::string&, const std::string&);
void initialize (int, const char**);
void aliasExpansion ();
void categorize ();
bool exactMatch (const std::string&, const std::string&) const;
bool canonicalize (std::string&, const std::string&, const std::string&) const;
private:
void extractOverrides ();
void aliasExpansion ();
void dump (const std::string&) const;
public:
@ -51,6 +54,11 @@ public:
std::vector <std::string> _args;
std::string _rc;
std::map <std::string, std::string> _overrides;
std::string _command;
bool _readOnly;
std::vector <std::string> _filter;
std::vector <std::string> _modifications;
};
#endif