@@ -14,31 +14,58 @@ const jsPrimitives = {
14
14
'undefined' : 'Undefined'
15
15
} ;
16
16
const jsGlobalTypes = [
17
- 'Error ' , 'Object ' , 'Function ' , 'Array ' , 'TypedArray ' , 'Uint8Array ' ,
18
- 'Uint16Array ' , 'Uint32Array ' , 'Int8Array ' , 'Int16Array' , 'Int32Array' ,
19
- 'Uint8ClampedArray ' , 'Float32Array ' , 'Float64Array ' , 'Date ' , 'RegExp' ,
20
- 'ArrayBuffer ' , 'DataView ' , 'Promise ' , 'EvalError ' , 'RangeError ' ,
21
- 'ReferenceError ' , 'SyntaxError ' , 'TypeError ' , 'URIError '
17
+ 'Array ' , 'ArrayBuffer ' , 'DataView ' , 'Date ' , 'Error ' , 'EvalError ' ,
18
+ 'Float32Array ' , 'Float64Array ' , 'Function ' , 'Int16Array' , 'Int32Array' ,
19
+ 'Int8Array ' , 'Object ' , 'Promise ' , 'RangeError' , 'ReferenceError ', 'RegExp' ,
20
+ 'SharedArrayBuffer ' , 'SyntaxError ' , 'TypeError ' , 'TypedArray ' , 'URIError ' ,
21
+ 'Uint16Array ' , 'Uint32Array ' , 'Uint8Array ' , 'Uint8ClampedArray '
22
22
] ;
23
23
const typeMap = {
24
+ 'Iterable' :
25
+ 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol' ,
26
+ 'Iterator' :
27
+ 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterator_protocol' ,
28
+
29
+ 'this' :
30
+ 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/this' ,
31
+
24
32
'Buffer' : 'buffer.html#buffer_class_buffer' ,
25
- 'Handle' : 'net.html#net_server_listen_handle_backlog_callback' ,
26
- 'Stream' : 'stream.html#stream_stream' ,
27
- 'stream.Writable' : 'stream.html#stream_class_stream_writable' ,
28
- 'stream.Readable' : 'stream.html#stream_class_stream_readable' ,
29
- 'stream.Duplex' : 'stream.html#stream_class_stream_duplex' ,
33
+
30
34
'ChildProcess' : 'child_process.html#child_process_class_childprocess' ,
35
+
31
36
'cluster.Worker' : 'cluster.html#cluster_class_worker' ,
37
+
32
38
'dgram.Socket' : 'dgram.html#dgram_class_dgram_socket' ,
33
- 'net.Socket' : 'net.html#net_class_net_socket' ,
34
- 'tls.TLSSocket' : 'tls.html#tls_class_tls_tlssocket' ,
39
+
40
+ 'Domain' : 'domain.html#domain_class_domain' ,
41
+
35
42
'EventEmitter' : 'events.html#events_class_eventemitter' ,
36
- 'Timer' : 'timers.html#timers_timers' ,
43
+
44
+ 'fs.Stats' : 'fs.html#fs_class_fs_stats' ,
45
+
37
46
'http.Agent' : 'http.html#http_class_http_agent' ,
38
47
'http.ClientRequest' : 'http.html#http_class_http_clientrequest' ,
39
48
'http.IncomingMessage' : 'http.html#http_class_http_incomingmessage' ,
40
49
'http.Server' : 'http.html#http_class_http_server' ,
41
50
'http.ServerResponse' : 'http.html#http_class_http_serverresponse' ,
51
+
52
+ 'Handle' : 'net.html#net_server_listen_handle_backlog_callback' ,
53
+ 'net.Server' : 'net.html#net_class_net_server' ,
54
+ 'net.Socket' : 'net.html#net_class_net_socket' ,
55
+
56
+ 'readline.Interface' : 'readline.html#readline_class_interface' ,
57
+
58
+ 'Stream' : 'stream.html#stream_stream' ,
59
+ 'stream.Duplex' : 'stream.html#stream_class_stream_duplex' ,
60
+ 'stream.Readable' : 'stream.html#stream_class_stream_readable' ,
61
+ 'stream.Writable' : 'stream.html#stream_class_stream_writable' ,
62
+
63
+ 'Immediate' : 'timers.html#timers_class_immediate' ,
64
+ 'Timeout' : 'timers.html#timers_class_timeout' ,
65
+ 'Timer' : 'timers.html#timers_timers' ,
66
+
67
+ 'tls.TLSSocket' : 'tls.html#tls_class_tls_tlssocket' ,
68
+
42
69
'URL' : 'url.html#url_the_whatwg_url_api' ,
43
70
'URLSearchParams' : 'url.html#url_class_urlsearchparams'
44
71
} ;
0 commit comments