MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / enumerator

Function enumerator

lib/token.h:1275–1277  ·  view source on GitHub ↗

* @return a pointer to the Enumerator associated with this token. */

Source from the content-addressed store, hash-verified

1273 * @return a pointer to the Enumerator associated with this token.
1274 */
1275 const Enumerator *enumerator() const {
1276 return mTokType == eEnumerator ? mImpl->mEnumerator : nullptr;
1277 }
1278
1279 /**
1280 * Associate this token with given enumerator

Callers

nothing calls this directly

Calls 1

tokTypeFunction · 0.85

Tested by

no test coverage detected