Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/tree-sitter-omega/blob/main/bindings/node/binding.cc # tree-sitter-omega aien-dev/tree-sitter-omega Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `tree-sitter-omega / bindings / node / binding.cc` 19 lines ยท 526 bytes Raw Blame History 1 #include 2 3 typedef struct TSLanguage TSLanguage; 4 5 extern "C" TSLanguage *tree_sitter_omega(); 6 7 // "tree-sitter", "language" hashed with BLAKE2 8 const napi_type_tag LANGUAGE_TYPE_TAG = { 9 0x8AF2E5212AD58ABF, 0xD5006CAD83ABBA16 10 }; 11 12 Napi::Object Init(Napi::Env env, Napi::Object exports) { 13 auto language = Napi::External::New(env, tree_sitter_omega()); 14 language.TypeTag(&LANGUAGE_TYPE_TAG); 15 exports["language"] = language; 16 return exports; 17 } 18 19 NODE_API_MODULE(tree_sitter_omega_binding, Init)