Searched refs:nodeByType (Results 1 – 1 of 1) sorted by relevance
165 const nodeByType = new Map(); constant168 if (!nodeByType.has(node.type)) {169 nodeByType.set(node.type, []);171 nodeByType.get(node.type).push(node);175 if (!nodeByType.has(node.type)) {176 nodeByType.set(node.type, []);178 nodeByType.get(node.type).push(node);181 return nodeByType;