MCPcopy Create free account
hub / github.com/bumptop/BumpTop / matchStringOrNull

Function matchStringOrNull

trunk/win/Source/LUpdateString/cpp.cpp:540–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540static bool matchStringOrNull(QString *s)
541{
542 bool matches = matchString(s);
543 qlonglong num = 0;
544 if (!matches)
545 matches = matchInteger(&num);
546 return matches && num == 0;
547}
548
549/*
550 * match any expression that can return a number, which can be

Callers 1

parseFunction · 0.85

Calls 2

matchStringFunction · 0.85
matchIntegerFunction · 0.85

Tested by

no test coverage detected