CodeQL library for Swift
codeql/swift-all 6.8.4 (changelog, source)
Search

Member predicate Content::EnumContent::getSignature

Gets a string describing this enum content, of the form: EnumElementName:N where EnumElementName is the name of the enum element declaration within the enum, and N is the 0-based index of the parameter that this content is for. For example in the following code there is only one EnumContent and it’s signature is myValue:0:

enum MyEnum {
  case myValue(Int)
}
string getSignature()