mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-09 00:30:36 +02:00
Entity Lists
- LRParser::addEntity accumulates categorized entities for the parser.
This commit is contained in:
parent
888a77213a
commit
66bcf26aa0
3 changed files with 18 additions and 2 deletions
|
@ -62,6 +62,12 @@ Tree* LRParser::parse (const std::string& tokens)
|
|||
return tree;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void LRParser::addEntity (const std::string& name, const std::string& value)
|
||||
{
|
||||
_entities.insert (std::pair <std::string, std::string> (name, value));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Wraps calls to matchRule, while properly handling the quantifier.
|
||||
bool LRParser::matchRuleQuant (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue