Logo Search packages:      
Sourcecode: fauhdlc version File versions

void ast::TopDownVisitor::process ( LoopStat node  )  [protected, virtual, inherited]

Process a generic LoopStat.

This function will get called for each LoopStat (or class derived from LoopStat) that get's visited.

node LoopStat instance.

Reimplemented from ast::Visitor.

Reimplemented in ast::CheckLoops, and ast::DotVisitor.

Definition at line 778 of file TopDownVisitor.cpp.

References ast::Visitor::listTraverse(), ast::LoopStat::loopStats, and ast::TopDownVisitor::process().

      /* up one class in hierarchy... this cast must never fail, or the 
       * class hierarchy is wrong. */
      SeqStat& snode = static_cast<SeqStat&>(node);

      /* taverse to loopStats */
      if (node.loopStats != NULL) {

Generated by  Doxygen 1.6.0   Back to index