Argument Parsing
- Added proper handling for sequences, in that they must be contiguous. - Added placeholder code for default command, and automatic info report. - Eliminated Context::parse. - Eliminated Context::run Timer, because when it goes out of scope, it adds timing messages to the deubg output, which at the end of Context::run has already been displayed. In addition, the Context::dispatch timer is about 0.2 milliseconds shorter, so the two are redundant.
This commit is contained in:
@@ -54,11 +54,8 @@ public:
|
||||
std::string combine ();
|
||||
|
||||
bool find_command (std::string&);
|
||||
/*
|
||||
void extract_filter ();
|
||||
void extract_modifications ();
|
||||
*/
|
||||
|
||||
bool is_command (const std::vector <std::string>&, std::string&);
|
||||
bool is_attr (const std::string&);
|
||||
bool is_attmod (const std::string&);
|
||||
bool is_subst (const std::string&);
|
||||
@@ -76,6 +73,8 @@ public:
|
||||
bool extract_tag (const std::string&, char&, std::string&);
|
||||
|
||||
/*
|
||||
void extract_filter ();
|
||||
void extract_modifications ();
|
||||
void extract_words ();
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user