original_string: protected function scan_for_active_node(navigation_node $node) {
          if (!$node->check_if_active() && $node->children->count()>0) {
              foreach ($node->children as &$child) {
                  $this->scan_for_active_node($child);
              }
          }
      }
code: protected function scan_for_active_node(navigation_node $node) {
          if (!$node->check_if_active() && $node->children->count()>0) {
              foreach ($node->children as &$child) {
                  $this->scan_for_active_node($child);
              }
          }
      }
code_tokens: protected function scan_for_active_node ( navigation_node $ node ) { if ( ! $ node -> check_if_active ( ) && $ node -> children -> count ( ) > 0 ) { foreach ( $ node -> children as & $ child ) { $ this -> scan_for_active_node ( $ child ) ; } } }
docstring: This function recursivily scans nodes until it finds the active node or there
  are no more nodes.
  @param navigation_node $node
docstring_tokens: This function recursivily scans nodes until it finds the active node or there are no more nodes .