Searched refs:nodeByType (Results 1 – 1 of 1) sorted by relevance
152 const nodeByType = new Map(); constant155 if (!nodeByType.has(node.type)) {156 nodeByType.set(node.type, []);158 nodeByType.get(node.type).push(node);162 if (!nodeByType.has(node.type)) {163 nodeByType.set(node.type, []);165 nodeByType.get(node.type).push(node);168 return nodeByType;