CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.3-dev (changelog, source)
Search

Member predicate EnumMember::getPrefixedName

Gets the name of the member prefixed by the declaring enum name.

For example, the prefixed name of the red member below is Color.red:

enum Color { red, green, blue }
string getPrefixedName()