CLI2: Refactoring
- Whenever A2::attribute sees 'raw' being set, it automaticall decomposes the arg, which can now be removed from other methods. - New ::canonicalizeNames method means that the ::decomposeMod* methods are no longer needed. - Removed ::findOverrides which now does nothing.
This commit is contained in:
@@ -49,6 +49,9 @@ public:
|
||||
const std::string getToken () const;
|
||||
const std::string dump () const;
|
||||
|
||||
private:
|
||||
void decompose ();
|
||||
|
||||
public:
|
||||
Lexer::Type _lextype;
|
||||
std::vector <std::string> _tags;
|
||||
@@ -88,7 +91,7 @@ private:
|
||||
void lexArguments ();
|
||||
void demoteDOM ();
|
||||
void aliasExpansion ();
|
||||
void findOverrides ();
|
||||
void canonicalizeNames ();
|
||||
bool findCommand ();
|
||||
bool exactMatch (const std::string&, const std::string&) const;
|
||||
void desugarFilterTags ();
|
||||
|
||||
Reference in New Issue
Block a user