code: protected EofMatch findEof(Match matches[]) {
          EofMatch ourEof = null;
          for (int i = 0; i < matches.length; i++) {
              if (matches[i] instanceof EofMatch)
                  ourEof = (EofMatch) matches[i];
          }
  
          if (ourEof == null) {
              // Have to create our own
              ourEof = new EofMatch();
          }
  
          return ourEof;
      }
docs: TODO
  
  @param matches TODO
  @return TODO