361362363364365366367368369370371
Node node = nodeIter.next(); if (node instanceof PieceNode && matchList.contains(((PieceNode) node).getText().toUpperCase())) { current.trim(); if (current.getNodeCount() > 0) { comps.add(current); current = new CompositeNode(node.getEndPos());
382383384385386387388389390391392
current.add(node); } } current.trim(); if (current.getNodeCount() > 0) { comps.add(current); }