File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
tools/SourceKit/include/SourceKit/Core Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1014,22 +1014,39 @@ class ConformingMethodListConsumer {
1014
1014
1015
1015
struct SignatureHelpResponse {
1016
1016
struct Parameter {
1017
+ // / The offset of the parameter text in the signature text.
1017
1018
unsigned Offset;
1019
+
1020
+ // / The length of the parameter text in the signature text.
1018
1021
unsigned Length;
1022
+
1023
+ // / The documentation comment for the parameter.
1019
1024
StringRef DocComment;
1025
+
1026
+ // / The internal parameter name.
1020
1027
StringRef Name;
1021
1028
1022
1029
Parameter () {}
1023
1030
};
1024
1031
1025
1032
struct Signature {
1033
+ // / The text describing the signature.
1026
1034
StringRef Text;
1035
+
1036
+ // / The documentation comment for the signature.
1027
1037
StringRef Doc;
1038
+
1039
+ // / The index of the active parameter if any.
1028
1040
std::optional<unsigned > ActiveParam;
1041
+
1042
+ // / The parameters for the signature.
1029
1043
ArrayRef<Parameter> Params;
1030
1044
};
1031
1045
1046
+ // / The index of the active signature.
1032
1047
unsigned ActiveSignature;
1048
+
1049
+ // / The available signatures/overloads.
1033
1050
ArrayRef<Signature> Signatures;
1034
1051
};
1035
1052
You can’t perform that action at this time.
0 commit comments