SwiftExpressionKind
public enum SwiftExpressionKind : String
The kind of expression for a contiguous set of Swift source tokens.
-
A call to a named function or closure.
Declaration
Swift
case call = "source.lang.swift.expr.call"
-
An argument value for a function or closure.
Declaration
Swift
case argument = "source.lang.swift.expr.argument"
-
An Array expression.
Declaration
Swift
case array = "source.lang.swift.expr.array"
-
A Dictionary expression.
Declaration
Swift
case dictionary = "source.lang.swift.expr.dictionary"
-
An object literal expression. https://developer.apple.com/swift/blog/?id=33
Declaration
Swift
case objectLiteral = "source.lang.swift.expr.object_literal"
-
A closure expression. https://docs.swift.org/swift-book/LanguageGuide/Closures.html
Declaration
Swift
case closure = "source.lang.swift.expr.closure"
-
A tuple expression. https://docs.swift.org/swift-book/ReferenceManual/Types.html#ID448
Declaration
Swift
case tuple = "source.lang.swift.expr.tuple"