379380381382383384385386387
assertTrue(parser.tryConsume(")") || parser.lookAhead() == '$'); } else { children = new NamedNodeElement[0]; } } elements.add(new NamedNodeElement(id, children)); } return ArrayUtil.createFrom(elements, NamedNodeElement.class); }