Searched refs:visitTree (Results 1 – 2 of 2) sorted by relevance
52 const visitNode = (visitTree) => { argument53 if (seen.has(visitTree)) {54 return seen.get(visitTree)57 seen.set(visitTree, null)58 const res = visit ? visit(visitTree) : visitTree61 seen.set(visitTree, resThen)62 return kidNodes(visitTree)64 seen.set(visitTree, fullResult)67 seen.set(visitTree, res)68 return kidNodes(visitTree)
31 const visitNode = (visitTree) => { argument32 if (seen.has(visitTree)) {33 return seen.get(visitTree)36 seen.set(visitTree, null)37 const res = visit ? visit(visitTree) : visitTree40 seen.set(visitTree, resThen)41 return kidNodes(visitTree)43 seen.set(visitTree, fullResult)46 seen.set(visitTree, res)47 return kidNodes(visitTree)