Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Linen-dev/linen.dev
/ walk
Function
walk
packages/ast/walk/index.js:1–6 ·
view source on GitHub ↗
(root, callback)
Source
from the content-addressed store, hash-verified
1
const
walk = (root, callback) => {
2
callback(root);
3
if
(root.children) {
4
root.children.forEach((node) => walk(node, callback));
5
}
6
};
7
8
module.exports = walk;
Callers
8
getUserMentions
Function · 0.90
getTitle
Function · 0.90
stringify
Function · 0.85
postprocess
Function · 0.85
findByType
Function · 0.85
preprocess
Function · 0.85
previewable
Function · 0.85
index.spec.js
File · 0.85
Calls
1
callback
Function · 0.50
Tested by
no test coverage detected