public TypeDecl next() {
   return ((Access) accessList.getChild(index++)).type();
 }
 public boolean hasNext() {
   return index < accessList.getNumChild();
 }