Logo Search packages:      
Sourcecode: fauhdlc version File versions

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

Process a generic Callable.

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

node Callable instance.

Reimplemented from ast::Visitor.

Reimplemented in ast::CheckAccessMode, ast::DotVisitor, and ast::GenCode.

Definition at line 808 of file TopDownVisitor.cpp.

References ast::SubprogBody::accept(), ast::Callable::arguments, ast::Callable::definition, ast::Visitor::listTraverse(), and ast::TopDownVisitor::process().

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

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

      /* traverse to definition */
      if (node.definition != NULL) {

Generated by  Doxygen 1.6.0   Back to index