@@ -22,20 +22,20 @@ var debugObjectHost = (<any>this);
22
22
23
23
module ts {
24
24
export interface ScriptSnapshotShim {
25
- /** Get's a portion of the script snapshot specified by [start, end). */
25
+ /** Gets a portion of the script snapshot specified by [start, end). */
26
26
getText ( start : number , end : number ) : string ;
27
27
28
- /** Get's the length of this script snapshot. */
28
+ /** Gets the length of this script snapshot. */
29
29
getLength ( ) : number ;
30
30
31
- /** This call returns the JSON encoded array of the type: number[] */
31
+ /** This call returns the JSON- encoded array of the type: number[] */
32
32
getLineStartPositions ( ) : string ;
33
33
34
34
/**
35
- * Returns a JSON encoded value of the type:
35
+ * Returns a JSON- encoded value of the type:
36
36
* { span: { start: number; length: number }; newLength: number }
37
37
*
38
- * Or null value if there was no change.
38
+ * Or undefined value if there was no change.
39
39
*/
40
40
getChangeRange ( oldSnapshot : ScriptSnapshotShim ) : string ;
41
41
}
@@ -44,7 +44,7 @@ module ts {
44
44
export interface LanguageServiceShimHost extends Logger {
45
45
getCompilationSettings ( ) : string ;
46
46
47
- /** Returns a JSON encoded value of the type: string[] */
47
+ /** Returns a JSON- encoded value of the type: string[] */
48
48
getScriptFileNames ( ) : string ;
49
49
getScriptVersion ( fileName : string ) : string ;
50
50
getScriptIsOpen ( fileName : string ) : boolean ;
@@ -93,51 +93,51 @@ module ts {
93
93
getSignatureHelpCurrentArgumentState ( fileName : string , position : number , applicableSpanStart : number ) : string ;
94
94
95
95
/**
96
- * Returns a JSON encoded value of the type:
96
+ * Returns a JSON- encoded value of the type:
97
97
* { canRename: boolean, localizedErrorMessage: string, displayName: string, fullDisplayName: string, kind: string, kindModifiers: string, triggerSpan: { start; length } }
98
98
*/
99
99
getRenameInfo ( fileName : string , position : number ) : string ;
100
100
101
101
/**
102
- * Returns a JSON encoded value of the type:
102
+ * Returns a JSON- encoded value of the type:
103
103
* { fileName: string; textSpan: { start: number; length: number}; kind: string; name: string; containerKind: string; containerName: string }
104
104
*
105
- * Or null value if no definition can be found.
105
+ * Or undefined value if no definition can be found.
106
106
*/
107
107
getDefinitionAtPosition ( fileName : string , position : number ) : string ;
108
108
109
109
/**
110
- * Returns a JSON encoded value of the type:
110
+ * Returns a JSON- encoded value of the type:
111
111
* { fileName: string; textSpan: { start: number; length: number}; isWriteAccess: boolean }[]
112
112
*/
113
113
getReferencesAtPosition ( fileName : string , position : number ) : string ;
114
114
115
115
/**
116
- * Returns a JSON encoded value of the type:
116
+ * Returns a JSON- encoded value of the type:
117
117
* { fileName: string; textSpan: { start: number; length: number}; isWriteAccess: boolean }[]
118
118
*/
119
119
getOccurrencesAtPosition ( fileName : string , position : number ) : string ;
120
120
121
121
/**
122
- * Returns a JSON encoded value of the type:
122
+ * Returns a JSON- encoded value of the type:
123
123
* { fileName: string; textSpan: { start: number; length: number}; isWriteAccess: boolean }[]
124
124
*/
125
125
getImplementorsAtPosition ( fileName : string , position : number ) : string ;
126
126
127
127
/**
128
- * Returns a JSON encoded value of the type:
128
+ * Returns a JSON- encoded value of the type:
129
129
* { name: string; kind: string; kindModifiers: string; containerName: string; containerKind: string; matchKind: string; fileName: string; textSpan: { start: number; length: number}; } [] = [];
130
130
*/
131
131
getNavigateToItems ( searchValue : string ) : string ;
132
132
133
133
/**
134
- * Returns a JSON encoded value of the type:
134
+ * Returns a JSON- encoded value of the type:
135
135
* { text: string; kind: string; kindModifiers: string; bolded: boolean; grayed: boolean; indent: number; spans: { start: number; length: number; }[]; childItems: <recursive use of this type>[] } [] = [];
136
136
*/
137
137
getNavigationBarItems ( fileName : string ) : string ;
138
138
139
139
/**
140
- * Returns a JSON encoded value of the type:
140
+ * Returns a JSON- encoded value of the type:
141
141
* { textSpan: { start: number, length: number }; hintSpan: { start: number, length: number }; bannerText: string; autoCollapse: boolean } [] = [];
142
142
*/
143
143
getOutliningSpans ( fileName : string ) : string ;
0 commit comments