Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Identifiers for Swift language entities
$ strings /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/sourcekitd.framework/Versions/Current/XPCServices/SourceKitService.xpc/Contents/MacOS/SourceKitService|grep source.lang.swift
source.lang.swift.keyword
source.lang.swift.pattern
source.lang.swift.syntaxtype.argument
source.lang.swift.syntaxtype.parameter
source.lang.swift.attribute.availability
source.lang.swift.decl.extension
source.lang.swift.decl.var.parameter
source.lang.swift.stmt.brace
source.lang.swift.expr.call
source.lang.swift.import.module.clang
source.lang.swift.import.module.swift
source.lang.swift.import.sourcefile
source.lang.swift.decl.function.free
source.lang.swift.ref.function.free
source.lang.swift.decl.function.method.instance
source.lang.swift.ref.function.method.instance
source.lang.swift.decl.function.method.static
source.lang.swift.ref.function.method.static
source.lang.swift.decl.function.method.class
source.lang.swift.ref.function.method.class
source.lang.swift.decl.function.accessor.getter
source.lang.swift.ref.function.accessor.getter
source.lang.swift.decl.function.accessor.setter
source.lang.swift.ref.function.accessor.setter
source.lang.swift.decl.function.accessor.willset
source.lang.swift.ref.function.accessor.willset
source.lang.swift.decl.function.accessor.didset
source.lang.swift.ref.function.accessor.didset
source.lang.swift.decl.function.constructor
source.lang.swift.ref.function.constructor
source.lang.swift.decl.function.destructor
source.lang.swift.ref.function.destructor
source.lang.swift.decl.function.operator
source.lang.swift.ref.function.operator
source.lang.swift.decl.function.subscript
source.lang.swift.ref.function.subscript
source.lang.swift.decl.var.global
source.lang.swift.ref.var.global
source.lang.swift.decl.var.instance
source.lang.swift.ref.var.instance
source.lang.swift.decl.var.static
source.lang.swift.ref.var.static
source.lang.swift.decl.var.class
source.lang.swift.ref.var.class
source.lang.swift.decl.var.local
source.lang.swift.ref.var.local
source.lang.swift.decl.class
source.lang.swift.ref.class
source.lang.swift.decl.struct
source.lang.swift.ref.struct
source.lang.swift.decl.enum
source.lang.swift.ref.enum
source.lang.swift.decl.enumelement
source.lang.swift.ref.enumelement
source.lang.swift.decl.protocol
source.lang.swift.ref.protocol
source.lang.swift.decl.extension.struct
source.lang.swift.decl.extension.class
source.lang.swift.decl.extension.enum
source.lang.swift.decl.typealias
source.lang.swift.ref.typealias
source.lang.swift.decl.generic_type_param
source.lang.swift.ref.generic_type_param
source.lang.swift.ref.module
source.lang.swift.syntaxtype.keyword
source.lang.swift.syntaxtype.identifier
source.lang.swift.syntaxtype.typeidentifier
source.lang.swift.syntaxtype.buildconfig.keyword
source.lang.swift.syntaxtype.buildconfig.id
source.lang.swift.syntaxtype.attribute.id
source.lang.swift.syntaxtype.attribute.builtin
source.lang.swift.syntaxtype.number
source.lang.swift.syntaxtype.string
source.lang.swift.syntaxtype.comment
source.lang.swift.syntaxtype.comment.mark
source.lang.swift.syntaxtype.comment.url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.