Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
|
try {
|
|
|
module.exports = require('../../build/Release/tree_sitter_c_binding');
|
|
|
} catch (error1) {
|
|
|
if (error1.code !== 'MODULE_NOT_FOUND') {
|
|
|
throw error1;
|
|
|
}
|
|
|
try {
|
|
|
module.exports = require('../../build/Debug/tree_sitter_c_binding');
|
|
|
} catch (error2) {
|
|
|
if (error2.code !== 'MODULE_NOT_FOUND') {
|
|
|
throw error2;
|
|
|
}
|
|
|
throw error1;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
try {
|
|
|
module.exports.nodeTypeInfo = require('../../src/node-types.json');
|
|
|
} catch (_) {}
|