MCPcopy Create free account
hub / github.com/KDE/kdevelop / basicTypes

Function basicTypes

plugins/qmljs/nodejsmodules/common.py:17–24  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

15""")
16
17def basicTypes(d):
18 d["_mixed"] = '_mixed' # This variable does not exist and will therefore yield the type "mixed"
19 d["_string"] = '""'
20 d["_bool"] = 'true'
21 d["_int"] = '1'
22 d["_float"] = '1.0'
23 d["_array"] = '[]'
24 d["_void"] = ''
25
26def require(module):
27 print('var %s = require("%s");\n' % (module, module))

Callers 15

child_process.pyFile · 0.85
os.pyFile · 0.85
dns.pyFile · 0.85
fs.pyFile · 0.85
url.pyFile · 0.85
path.pyFile · 0.85
tty.pyFile · 0.85
https.pyFile · 0.85
dgram.pyFile · 0.85
net.pyFile · 0.85
stream.pyFile · 0.85
event.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected