SourceKitten icon indicating copy to clipboard operation
SourceKitten copied to clipboard

Update `SwiftDeclarationKind`

Open david-coyle-sjc opened this issue 7 years ago • 1 comments

I found "source.lang.swift.expr.call" as a declaration, for example at the site of a precondition:

        [0] = {
          key = "key.name"
          value = "precondition"
        }
        [1] = {
          key = "key.bodylength"
          value = 15
        }
        [2] = {
          key = "key.offset"
          value = 191
        }
        [3] = {
          key = "key.namelength"
          value = 12
        }
        [4] = {
          key = "key.length"
          value = 29
        }
        [5] = {
          key = "key.nameoffset"
          value = 191
        }
        [6] = {
          key = "key.kind"
          value = "source.lang.swift.expr.call"
        }
        [7] = {
          key = "key.bodyoffset"
          value = 204
        }

david-coyle-sjc avatar Jun 29 '18 18:06 david-coyle-sjc

That's not a declaration, that's an expression.

jpsim avatar Aug 04 '18 17:08 jpsim