return posify(result);
}
public Node createEnumBody(Node head, List<Node> tail, Node typeBody) {
EnumTypeBody body = new EnumTypeBody();
if (head != null) body.rawConstants().addToEnd(head);
if (tail != null) for (Node n : tail) body.rawConstants().addToEnd(n);
if (typeBody instanceof TypeBody) {
body.rawMembers().migrateAllFrom(((TypeBody)typeBody).rawMembers());
}
return posify(body);