MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / IsKeyWord

Method IsKeyWord

libs/wgtcc/token.h:224–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222 }
223 static bool IsKeyWord(const std::string& name);
224 static bool IsKeyWord(int tag) { return CONST <= tag && tag < IDENTIFIER; }
225 bool IsKeyWord() const { return IsKeyWord(tag_); }
226 bool IsPunctuator() const { return 0 <= tag_ && tag_ <= ELLIPSIS; }
227 bool IsLiteral() const { return tag_ == LITERAL; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected