Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SplootCode/splootcode
/ parseJs
Function
parseJs
packages/language-web/code_io/import_js.ts:240–244 ·
view source on GitHub ↗
(source: string)
Source
from the content-addressed store, hash-verified
238
}
239
240
export
function
parseJs(source: string): SplootNode {
241
const
ast = recast.parse(source, { parser: babylon })
242
const
splootNode = createNodeFromAst(null, ast)
243
return
splootNode
244
}
Callers
1
createScriptElement
Function · 0.90
Calls
1
createNodeFromAst
Function · 0.85
Tested by
no test coverage detected