void (LighterASTNode[] nodes, int count) { if (nodes == null) return; for (int i = 0; i < count; i++) { LighterASTNode node = nodes[i]; if (node instanceof TokenRangeNode) { myRangePool.recycle((TokenRangeNode)node); } else if (node instanceof SingleLexemeNode) { myLexemePool.recycle((SingleLexemeNode)node); } } }