SKDeclarationKind

public enum SKDeclarationKind : String, Equatable, Codable, CaseIterable, SourceKitUID

Warning

This enumeration is generated by the ‘generate_boilerplate.swift’ script. You can update this enumeration by running make generate-boilerplate.
  • The source.lang.swift.decl.function.free SourceKit key.

    Declaration

    Swift

    case functionFree = "source.lang.swift.decl.function.free"
  • The source.lang.swift.decl.function.method.instance SourceKit key.

    Declaration

    Swift

    case functionMethodInstance = "source.lang.swift.decl.function.method.instance"
  • The source.lang.swift.decl.function.method.static SourceKit key.

    Declaration

    Swift

    case functionMethodStatic = "source.lang.swift.decl.function.method.static"
  • The source.lang.swift.decl.function.method.class SourceKit key.

    Declaration

    Swift

    case functionMethodClass = "source.lang.swift.decl.function.method.class"
  • The source.lang.swift.decl.function.accessor.getter SourceKit key.

    Declaration

    Swift

    case functionAccessorGetter = "source.lang.swift.decl.function.accessor.getter"
  • The source.lang.swift.decl.function.accessor.setter SourceKit key.

    Declaration

    Swift

    case functionAccessorSetter = "source.lang.swift.decl.function.accessor.setter"
  • The source.lang.swift.decl.function.accessor.willset SourceKit key.

    Declaration

    Swift

    case functionAccessorWillSet = "source.lang.swift.decl.function.accessor.willset"
  • The source.lang.swift.decl.function.accessor.didset SourceKit key.

    Declaration

    Swift

    case functionAccessorDidSet = "source.lang.swift.decl.function.accessor.didset"
  • The source.lang.swift.decl.function.accessor.address SourceKit key.

    Declaration

    Swift

    case functionAccessorAddress = "source.lang.swift.decl.function.accessor.address"
  • The source.lang.swift.decl.function.accessor.mutableaddress SourceKit key.

    Declaration

    Swift

    case functionAccessorMutableAddress = "source.lang.swift.decl.function.accessor.mutableaddress"
  • The source.lang.swift.decl.function.constructor SourceKit key.

    Declaration

    Swift

    case functionConstructor = "source.lang.swift.decl.function.constructor"
  • The source.lang.swift.decl.function.destructor SourceKit key.

    Declaration

    Swift

    case functionDestructor = "source.lang.swift.decl.function.destructor"
  • The source.lang.swift.decl.function.operator.prefix SourceKit key.

    Declaration

    Swift

    case functionOperatorPrefix = "source.lang.swift.decl.function.operator.prefix"
  • The source.lang.swift.decl.function.operator.postfix SourceKit key.

    Declaration

    Swift

    case functionOperatorPostfix = "source.lang.swift.decl.function.operator.postfix"
  • The source.lang.swift.decl.function.operator.infix SourceKit key.

    Declaration

    Swift

    case functionOperatorInfix = "source.lang.swift.decl.function.operator.infix"
  • The source.lang.swift.decl.precedencegroup SourceKit key.

    Declaration

    Swift

    case precedenceGroup = "source.lang.swift.decl.precedencegroup"
  • The source.lang.swift.decl.function.subscript SourceKit key.

    Declaration

    Swift

    case functionSubscript = "source.lang.swift.decl.function.subscript"
  • The source.lang.swift.decl.var.global SourceKit key.

    Declaration

    Swift

    case varGlobal = "source.lang.swift.decl.var.global"
  • The source.lang.swift.decl.var.instance SourceKit key.

    Declaration

    Swift

    case varInstance = "source.lang.swift.decl.var.instance"
  • The source.lang.swift.decl.var.static SourceKit key.

    Declaration

    Swift

    case varStatic = "source.lang.swift.decl.var.static"
  • The source.lang.swift.decl.var.class SourceKit key.

    Declaration

    Swift

    case varClass = "source.lang.swift.decl.var.class"
  • The source.lang.swift.decl.var.local SourceKit key.

    Declaration

    Swift

    case varLocal = "source.lang.swift.decl.var.local"
  • The source.lang.swift.decl.var.parameter SourceKit key.

    Declaration

    Swift

    case varParameter = "source.lang.swift.decl.var.parameter"
  • The source.lang.swift.decl.module SourceKit key.

    Declaration

    Swift

    case module = "source.lang.swift.decl.module"
  • The source.lang.swift.decl.class SourceKit key.

    Declaration

    Swift

    case `class` = "source.lang.swift.decl.class"
  • The source.lang.swift.decl.struct SourceKit key.

    Declaration

    Swift

    case `struct` = "source.lang.swift.decl.struct"
  • The source.lang.swift.decl.enum SourceKit key.

    Declaration

    Swift

    case `enum` = "source.lang.swift.decl.enum"
  • The source.lang.swift.decl.enumcase SourceKit key.

    Declaration

    Swift

    case enumCase = "source.lang.swift.decl.enumcase"
  • The source.lang.swift.decl.enumelement SourceKit key.

    Declaration

    Swift

    case enumElement = "source.lang.swift.decl.enumelement"
  • The source.lang.swift.decl.protocol SourceKit key.

    Declaration

    Swift

    case `protocol` = "source.lang.swift.decl.protocol"
  • The source.lang.swift.decl.extension SourceKit key.

    Declaration

    Swift

    case `extension` = "source.lang.swift.decl.extension"
  • The source.lang.swift.decl.extension.struct SourceKit key.

    Declaration

    Swift

    case extensionStruct = "source.lang.swift.decl.extension.struct"
  • The source.lang.swift.decl.extension.class SourceKit key.

    Declaration

    Swift

    case extensionClass = "source.lang.swift.decl.extension.class"
  • The source.lang.swift.decl.extension.enum SourceKit key.

    Declaration

    Swift

    case extensionEnum = "source.lang.swift.decl.extension.enum"
  • The source.lang.swift.decl.extension.protocol SourceKit key.

    Declaration

    Swift

    case extensionProtocol = "source.lang.swift.decl.extension.protocol"
  • The source.lang.swift.decl.associatedtype SourceKit key.

    Declaration

    Swift

    case associatedType = "source.lang.swift.decl.associatedtype"
  • The source.lang.swift.decl.typealias SourceKit key.

    Declaration

    Swift

    case typeAlias = "source.lang.swift.decl.typealias"
  • The source.lang.swift.decl.generic_type_param SourceKit key.

    Declaration

    Swift

    case genericTypeParam = "source.lang.swift.decl.generic_type_param"
  • The source.lang.swift.syntaxtype.argument SourceKit key.

    Declaration

    Swift

    case argument = "source.lang.swift.syntaxtype.argument"
  • The source.lang.swift.syntaxtype.parameter SourceKit key.

    Declaration

    Swift

    case parameter = "source.lang.swift.syntaxtype.parameter"
  • The source.lang.swift.syntaxtype.keyword SourceKit key.

    Declaration

    Swift

    case keyword = "source.lang.swift.syntaxtype.keyword"
  • The source.lang.swift.syntaxtype.identifier SourceKit key.

    Declaration

    Swift

    case identifier = "source.lang.swift.syntaxtype.identifier"
  • The source.lang.swift.syntaxtype.typeidentifier SourceKit key.

    Declaration

    Swift

    case typeIdentifier = "source.lang.swift.syntaxtype.typeidentifier"
  • The source.lang.swift.syntaxtype.buildconfig.keyword SourceKit key.

    Declaration

    Swift

    case buildConfigKeyword = "source.lang.swift.syntaxtype.buildconfig.keyword"
  • The source.lang.swift.syntaxtype.buildconfig.id SourceKit key.

    Declaration

    Swift

    case buildConfigID = "source.lang.swift.syntaxtype.buildconfig.id"
  • The source.lang.swift.syntaxtype.pounddirective.keyword SourceKit key.

    Declaration

    Swift

    case poundDirectiveKeyword = "source.lang.swift.syntaxtype.pounddirective.keyword"
  • The source.lang.swift.syntaxtype.attribute.id SourceKit key.

    Declaration

    Swift

    case attributeID = "source.lang.swift.syntaxtype.attribute.id"
  • The source.lang.swift.syntaxtype.attribute.builtin SourceKit key.

    Declaration

    Swift

    case attributeBuiltIn = "source.lang.swift.syntaxtype.attribute.builtin"
  • The source.lang.swift.syntaxtype.number SourceKit key.

    Declaration

    Swift

    case number = "source.lang.swift.syntaxtype.number"
  • The source.lang.swift.syntaxtype.string SourceKit key.

    Declaration

    Swift

    case string = "source.lang.swift.syntaxtype.string"
  • The source.lang.swift.syntaxtype.string_interpolation_anchor SourceKit key.

    Declaration

    Swift

    case stringInterpolationAnchor = "source.lang.swift.syntaxtype.string_interpolation_anchor"
  • The source.lang.swift.syntaxtype.comment SourceKit key.

    Declaration

    Swift

    case comment = "source.lang.swift.syntaxtype.comment"
  • The source.lang.swift.syntaxtype.doccomment SourceKit key.

    Declaration

    Swift

    case docComment = "source.lang.swift.syntaxtype.doccomment"
  • The source.lang.swift.syntaxtype.doccomment.field SourceKit key.

    Declaration

    Swift

    case docCommentField = "source.lang.swift.syntaxtype.doccomment.field"
  • The source.lang.swift.syntaxtype.comment.mark SourceKit key.

    Declaration

    Swift

    case commentMark = "source.lang.swift.syntaxtype.comment.mark"
  • The source.lang.swift.syntaxtype.comment.url SourceKit key.

    Declaration

    Swift

    case commentURL = "source.lang.swift.syntaxtype.comment.url"
  • The source.lang.swift.syntaxtype.placeholder SourceKit key.

    Declaration

    Swift

    case placeholder = "source.lang.swift.syntaxtype.placeholder"
  • The source.lang.swift.syntaxtype.objectliteral SourceKit key.

    Declaration

    Swift

    case objectLiteral = "source.lang.swift.syntaxtype.objectliteral"
  • The source.lang.swift.expr.call SourceKit key.

    Declaration

    Swift

    case exprCall = "source.lang.swift.expr.call"
  • The source.lang.swift.expr.argument SourceKit key.

    Declaration

    Swift

    case exprArgument = "source.lang.swift.expr.argument"
  • The source.lang.swift.expr.array SourceKit key.

    Declaration

    Swift

    case exprArray = "source.lang.swift.expr.array"
  • The source.lang.swift.expr.dictionary SourceKit key.

    Declaration

    Swift

    case exprDictionary = "source.lang.swift.expr.dictionary"
  • The source.lang.swift.expr.object_literal SourceKit key.

    Declaration

    Swift

    case exprObjectLiteral = "source.lang.swift.expr.object_literal"
  • The source.lang.swift.expr.tuple SourceKit key.

    Declaration

    Swift

    case exprTuple = "source.lang.swift.expr.tuple"
  • The source.lang.swift.expr.closure SourceKit key.

    Declaration

    Swift

    case exprClosure = "source.lang.swift.expr.closure"
  • The source.lang.swift.expr SourceKit key.

    Declaration

    Swift

    case expr = "source.lang.swift.expr"
  • The source.lang.swift.stmt.foreach SourceKit key.

    Declaration

    Swift

    case stmtForEach = "source.lang.swift.stmt.foreach"
  • The source.lang.swift.stmt.for SourceKit key.

    Declaration

    Swift

    case stmtFor = "source.lang.swift.stmt.for"
  • The source.lang.swift.stmt.while SourceKit key.

    Declaration

    Swift

    case stmtWhile = "source.lang.swift.stmt.while"
  • The source.lang.swift.stmt.repeatwhile SourceKit key.

    Declaration

    Swift

    case stmtRepeatWhile = "source.lang.swift.stmt.repeatwhile"
  • The source.lang.swift.stmt.if SourceKit key.

    Declaration

    Swift

    case stmtIf = "source.lang.swift.stmt.if"
  • The source.lang.swift.stmt.guard SourceKit key.

    Declaration

    Swift

    case stmtGuard = "source.lang.swift.stmt.guard"
  • The source.lang.swift.stmt.switch SourceKit key.

    Declaration

    Swift

    case stmtSwitch = "source.lang.swift.stmt.switch"
  • The source.lang.swift.stmt.case SourceKit key.

    Declaration

    Swift

    case stmtCase = "source.lang.swift.stmt.case"
  • The source.lang.swift.stmt.brace SourceKit key.

    Declaration

    Swift

    case stmtBrace = "source.lang.swift.stmt.brace"