MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / run

Function run

website/public/wasm/web-tree-sitter.js:3088–3119  ·  view source on GitHub ↗
(args2 = arguments_)

Source from the content-addressed store, hash-verified

3086 }
3087 __name(callMain, "callMain");
3088 function run(args2 = arguments_) {
3089 if (runDependencies > 0) {
3090 dependenciesFulfilled = run;
3091 return;
3092 }
3093 preRun();
3094 if (runDependencies > 0) {
3095 dependenciesFulfilled = run;
3096 return;
3097 }
3098 function doRun() {
3099 Module["calledRun"] = true;
3100 if (ABORT) return;
3101 initRuntime();
3102 preMain();
3103 readyPromiseResolve?.(Module);
3104 Module["onRuntimeInitialized"]?.();
3105 var noInitialRun = Module["noInitialRun"] || false;
3106 if (!noInitialRun) callMain(args2);
3107 postRun();
3108 }
3109 __name(doRun, "doRun");
3110 if (Module["setStatus"]) {
3111 Module["setStatus"]("Running...");
3112 setTimeout(() => {
3113 setTimeout(() => Module["setStatus"](""), 1);
3114 doRun();
3115 }, 1);
3116 } else {
3117 doRun();
3118 }
3119 }
3120 __name(run, "run");
3121 var wasmExports;
3122 wasmExports = await createWasm();

Callers 2

initMethod · 0.70
Module2Function · 0.70

Calls 3

preRunFunction · 0.85
__nameFunction · 0.85
doRunFunction · 0.85

Tested by

no test coverage detected