Ignore:
Timestamp:
Oct 23, 2010, 11:30:17 PM (12 years ago)
Author:
Peter Johansson
Message:

Remove parse from Node interface as we now use visitor pattern and only need to rase with File and 'collect_stats()' with Directory. refs 476

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r1234 r1236  
    151151  }
    152152
    153   const StatsCollection& Directory::parse(bool verbose, bool ignore)
    154   {
    155     stats_.reset();
    156     assert(0 && "we are not using this function, are we?");
    157     /*
    158     for (NodeIterator i=daughters_.begin(); i!=daughters_.end(); ++i)
    159       if (!(*i)->ignore())
    160         stats_ += (*i)->parse(verbose, ignore);
    161     */
    162     return stats_;
    163   }
    164 
    165153
    166154  void Directory::print_core(const bool verbose) const
Note: See TracChangeset for help on using the changeset viewer.