-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathCompletionJsxProps.res.txt
256 lines (247 loc) · 7.97 KB
/
CompletionJsxProps.res.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
Complete src/CompletionJsxProps.res 0:47
posCursor:[0:47] posNoWhite:[0:46] Found expr:[0:12->0:47]
JSX <CompletionSupport.TestComponent:[0:12->0:43] on[0:44->0:46]=...__ghost__[0:-1->0:-1]> _children:None
Completable: Cexpression CJsxPropValue [CompletionSupport, TestComponent] on
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [CompletionSupport, TestComponent] on
Path CompletionSupport.TestComponent.make
[{
"label": "true",
"kind": 4,
"tags": [],
"detail": "bool",
"documentation": null
}, {
"label": "false",
"kind": 4,
"tags": [],
"detail": "bool",
"documentation": null
}]
Complete src/CompletionJsxProps.res 3:48
posCursor:[3:48] posNoWhite:[3:47] Found expr:[3:12->3:48]
JSX <CompletionSupport.TestComponent:[3:12->3:43] on[3:44->3:46]=...[3:47->3:48]> _children:None
Completable: Cexpression CJsxPropValue [CompletionSupport, TestComponent] on=t
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [CompletionSupport, TestComponent] on
Path CompletionSupport.TestComponent.make
[{
"label": "true",
"kind": 4,
"tags": [],
"detail": "bool",
"documentation": null
}]
Complete src/CompletionJsxProps.res 6:50
posCursor:[6:50] posNoWhite:[6:49] Found expr:[6:12->6:50]
JSX <CompletionSupport.TestComponent:[6:12->6:43] test[6:44->6:48]=...[6:49->6:50]> _children:None
Completable: Cexpression CJsxPropValue [CompletionSupport, TestComponent] test=T
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [CompletionSupport, TestComponent] test
Path CompletionSupport.TestComponent.make
[{
"label": "Two",
"kind": 4,
"tags": [],
"detail": "Two\n\ntype testVariant = One | Two | Three(int)",
"documentation": null,
"sortText": "A Two",
"insertText": "{Two}",
"insertTextFormat": 2
}, {
"label": "Three(_)",
"kind": 4,
"tags": [],
"detail": "Three(int)\n\ntype testVariant = One | Two | Three(int)",
"documentation": null,
"sortText": "A Three(_)",
"insertText": "{Three($0)}",
"insertTextFormat": 2
}, {
"label": "TableclothMap",
"kind": 9,
"tags": [],
"detail": "file module",
"documentation": null
}, {
"label": "TypeAtPosCompletion",
"kind": 9,
"tags": [],
"detail": "file module",
"documentation": null
}, {
"label": "TypeDefinition",
"kind": 9,
"tags": [],
"detail": "file module",
"documentation": null
}]
Complete src/CompletionJsxProps.res 9:52
posCursor:[9:52] posNoWhite:[9:51] Found expr:[9:12->9:52]
JSX <CompletionSupport.TestComponent:[9:12->9:43] polyArg[9:44->9:51]=...__ghost__[0:-1->0:-1]> _children:None
Completable: Cexpression CJsxPropValue [CompletionSupport, TestComponent] polyArg
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [CompletionSupport, TestComponent] polyArg
Path CompletionSupport.TestComponent.make
[{
"label": "#one",
"kind": 4,
"tags": [],
"detail": "#one\n\n[#one | #three(int, bool) | #two | #two2]",
"documentation": null,
"insertText": "{#one}",
"insertTextFormat": 2
}, {
"label": "#three(_, _)",
"kind": 4,
"tags": [],
"detail": "#three(int, bool)\n\n[#one | #three(int, bool) | #two | #two2]",
"documentation": null,
"insertText": "{#three(${1:_}, ${2:_})}",
"insertTextFormat": 2
}, {
"label": "#two",
"kind": 4,
"tags": [],
"detail": "#two\n\n[#one | #three(int, bool) | #two | #two2]",
"documentation": null,
"insertText": "{#two}",
"insertTextFormat": 2
}, {
"label": "#two2",
"kind": 4,
"tags": [],
"detail": "#two2\n\n[#one | #three(int, bool) | #two | #two2]",
"documentation": null,
"insertText": "{#two2}",
"insertTextFormat": 2
}]
Complete src/CompletionJsxProps.res 12:54
posCursor:[12:54] posNoWhite:[12:53] Found expr:[12:12->12:54]
JSX <CompletionSupport.TestComponent:[12:12->12:43] polyArg[12:44->12:51]=...[12:52->12:54]> _children:None
Completable: Cexpression CJsxPropValue [CompletionSupport, TestComponent] polyArg=#t
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [CompletionSupport, TestComponent] polyArg
Path CompletionSupport.TestComponent.make
[{
"label": "#three(_, _)",
"kind": 4,
"tags": [],
"detail": "#three(int, bool)\n\n[#one | #three(int, bool) | #two | #two2]",
"documentation": null,
"insertText": "{three(${1:_}, ${2:_})}",
"insertTextFormat": 2
}, {
"label": "#two",
"kind": 4,
"tags": [],
"detail": "#two\n\n[#one | #three(int, bool) | #two | #two2]",
"documentation": null,
"insertText": "{two}",
"insertTextFormat": 2
}, {
"label": "#two2",
"kind": 4,
"tags": [],
"detail": "#two2\n\n[#one | #three(int, bool) | #two | #two2]",
"documentation": null,
"insertText": "{two2}",
"insertTextFormat": 2
}]
Complete src/CompletionJsxProps.res 15:22
posCursor:[15:22] posNoWhite:[15:21] Found expr:[15:12->15:25]
JSX <div:[15:12->15:15] muted[15:16->15:21]=...__ghost__[0:-1->0:-1]> _children:15:23
Completable: Cexpression CJsxPropValue [div] muted
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [div] muted
Path ReactDOM.domProps
Path Pervasives.JsxDOM.domProps
[{
"label": "true",
"kind": 4,
"tags": [],
"detail": "bool",
"documentation": null
}, {
"label": "false",
"kind": 4,
"tags": [],
"detail": "bool",
"documentation": null
}]
Complete src/CompletionJsxProps.res 18:29
posCursor:[18:29] posNoWhite:[18:28] Found expr:[18:12->18:32]
JSX <div:[18:12->18:15] onMouseEnter[18:16->18:28]=...__ghost__[0:-1->0:-1]> _children:18:30
Completable: Cexpression CJsxPropValue [div] onMouseEnter
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [div] onMouseEnter
Path ReactDOM.domProps
Path Pervasives.JsxDOM.domProps
[{
"label": "event => {}",
"kind": 12,
"tags": [],
"detail": "JsxEventC.Mouse.t => unit",
"documentation": null,
"sortText": "A",
"insertText": "{${1:event} => {$0}}",
"insertTextFormat": 2
}]
Complete src/CompletionJsxProps.res 22:52
posCursor:[22:52] posNoWhite:[22:51] Found expr:[22:12->22:52]
JSX <CompletionSupport.TestComponent:[22:12->22:43] testArr[22:44->22:51]=...__ghost__[0:-1->0:-1]> _children:None
Completable: Cexpression CJsxPropValue [CompletionSupport, TestComponent] testArr
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [CompletionSupport, TestComponent] testArr
Path CompletionSupport.TestComponent.make
[{
"label": "[]",
"kind": 12,
"tags": [],
"detail": "testVariant",
"documentation": null,
"sortText": "A",
"insertText": "{[$0]}",
"insertTextFormat": 2
}]
Complete src/CompletionJsxProps.res 26:54
posCursor:[26:54] posNoWhite:[26:53] Found expr:[26:12->26:56]
JSX <CompletionSupport.TestComponent:[26:12->26:43] testArr[26:44->26:51]=...[26:53->26:55]> _children:None
Completable: Cexpression CJsxPropValue [CompletionSupport, TestComponent] testArr->array
Package opens Pervasives.JsxModules.place holder
Resolved opens 1 pervasives
ContextPath CJsxPropValue [CompletionSupport, TestComponent] testArr
Path CompletionSupport.TestComponent.make
[{
"label": "One",
"kind": 4,
"tags": [],
"detail": "One\n\ntype testVariant = One | Two | Three(int)",
"documentation": null,
"insertText": "One",
"insertTextFormat": 2
}, {
"label": "Two",
"kind": 4,
"tags": [],
"detail": "Two\n\ntype testVariant = One | Two | Three(int)",
"documentation": null,
"insertText": "Two",
"insertTextFormat": 2
}, {
"label": "Three(_)",
"kind": 4,
"tags": [],
"detail": "Three(int)\n\ntype testVariant = One | Two | Three(int)",
"documentation": null,
"insertText": "Three($0)",
"insertTextFormat": 2
}]