@Override
 protected Completion visit(Node node, StatementVisitor mv) {
   throw new IllegalStateException(String.format("node-class: %s", node.getClass()));
 }
Пример #2
0
 private List<Name> forEach(Iterable<? extends Node> list, List<Name> names) {
   for (Node node : list) {
     node.accept(this, names);
   }
   return names;
 }