mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Add parameter.name.local and parameter.name.external tags
... for the fully annotated declarations. More substructure more better. This has to go through a callback mechanism similar to printDeclLoc and printDeclPre since it should be scheduled after both of those are printed. rdar://problem/24292226
This commit is contained in:
@@ -78,6 +78,13 @@ private:
|
||||
return OtherPrinter.printSynthesizedExtensionPost(ED, NTD);
|
||||
}
|
||||
|
||||
void printNamePre(PrintNameContext Context) override {
|
||||
return OtherPrinter.printNamePre(Context);
|
||||
}
|
||||
void printNamePost(PrintNameContext Context) override {
|
||||
return OtherPrinter.printNamePost(Context);
|
||||
}
|
||||
|
||||
// Prints regular comments of the header the clang node comes from, until
|
||||
// the location of the node. Keeps track of the comments that were printed
|
||||
// from the file and resumes printing for the next node from the same file.
|
||||
|
||||
Reference in New Issue
Block a user