We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Something similar to #955 would be needed.
protocol P { associatedtype X }
$ sourcekitten structure --file file.swift { "key.substructure" : [ { "key.kind" : "source.lang.swift.decl.protocol", "key.offset" : 0, "key.nameoffset" : 9, "key.namelength" : 1, "key.bodyoffset" : 12, "key.bodylength" : 22, "key.accessibility" : "source.lang.swift.accessibility.internal", "key.runtime_name" : "_TtP8__main__1P_", "key.name" : "P", "key.length" : 35 } ], "key.offset" : 0, "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", "key.length" : 36 } $ sourcekitten syntax --file file.swift [ { "offset" : 0, "length" : 8, "type" : "source.lang.swift.syntaxtype.keyword" }, { "offset" : 9, "length" : 1, "type" : "source.lang.swift.syntaxtype.identifier" }, { "offset" : 17, "length" : 14, "type" : "source.lang.swift.syntaxtype.keyword" }, { "offset" : 32, "length" : 1, "type" : "source.lang.swift.syntaxtype.identifier" } ]
The text was updated successfully, but these errors were encountered:
type_name
typealias
associatedtype
Fixed in #955
Sorry, something went wrong.
No branches or pull requests
Something similar to #955 would be needed.
The text was updated successfully, but these errors were encountered: