[SourceKit][CursorInfo] Add a field for the source language the symbol was originally defined in

Resolves rdar://75446903
This commit is contained in:
Nathan Hawes
2021-03-18 18:31:23 +10:00
parent 179a707352
commit e1a4c5f846
17 changed files with 93 additions and 0 deletions

View File

@@ -188,6 +188,7 @@ UID_KEYS = [
KEY('AnnotatedTypename', 'key.annotated.typename'),
KEY('CompileOperation', 'key.compile_operation'),
KEY('EffectiveAccess', 'key.effective_access'),
KEY('DeclarationLang', 'key.decl_lang'),
]
@@ -452,4 +453,6 @@ UID_KINDS = [
KIND('SyntaxTreeOff', 'source.syntaxtree.transfer.off'),
KIND('SyntaxTreeIncremental', 'source.syntaxtree.transfer.incremental'),
KIND('SyntaxTreeFull', 'source.syntaxtree.transfer.full'),
KIND('Swift', 'source.lang.swift'),
KIND('ObjC', 'source.lang.objc'),
]