Conceptual Explorer

Readable Source Code

Processed Output

Output Format: Compacted (Minified)Fixture View: Compacted example
// @ctx .context/core/parser.ctx import{parse}from'../vendor/acorn.mjs';import{walk}from'../vendor/walk.mjs';export async function parseFile(f,p){const a=parse(f,{ecmaVersion:'latest',sourceType:'module'});const r=[];walk(a,{FunctionDeclaration(n){r.push(n.id.name);}});return{path:p,results:r};}

What's happening?