mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Lexer
- Improved ::isIdentifier, ::isUUID and ::isDOM.
This commit is contained in:
parent
2af470bb90
commit
237d932ff9
3 changed files with 73 additions and 13 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
path,
|
||||
substitution, pattern,
|
||||
op,
|
||||
identifier, word,
|
||||
dom, identifier, word,
|
||||
date, duration };
|
||||
|
||||
Lexer (const std::string&);
|
||||
|
@ -97,6 +97,7 @@ public:
|
|||
bool isSubstitution (std::string&, Lexer::Type&);
|
||||
bool isPattern (std::string&, Lexer::Type&);
|
||||
bool isOperator (std::string&, Lexer::Type&);
|
||||
bool isDOM (std::string&, Lexer::Type&);
|
||||
bool isIdentifier (std::string&, Lexer::Type&);
|
||||
bool isWord (std::string&, Lexer::Type&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue