CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.2-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()