MCPcopy Create free account
hub / github.com/GothenburgBitFactory/taskwarrior / isPunctuation

Method isPunctuation

src/Lexer.cpp:211–214  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

209
210////////////////////////////////////////////////////////////////////////////////
211bool Lexer::isPunctuation(int c) {
212 return isprint(c) && c != ' ' && c != '@' && c != '#' && c != '$' && c != '_' &&
213 !unicodeLatinDigit(c) && !unicodeLatinAlpha(c);
214}
215
216////////////////////////////////////////////////////////////////////////////////
217// Assumes that quotes is a string containing a non-trivial set of quote

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected