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

Method isIdentifierStart

src/Lexer.cpp:138–142  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

136
137////////////////////////////////////////////////////////////////////////////////
138bool Lexer::isIdentifierStart(int c) {
139 return c && // Include null character check.
140 !unicodeWhitespace(c) && !unicodeLatinDigit(c) && !isSingleCharOperator(c) &&
141 !isPunctuation(c);
142}
143
144////////////////////////////////////////////////////////////////////////////////
145bool Lexer::isIdentifierNext(int c) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected