question: performs the depth first traversion of all elements concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myElements concode_elem_sep boolean done concode_field_sep boolean isVisited concode_elem_sep void beginVisit concode_elem_sep Iterator getElementLinks concode_elem_sep void endVisit concode_elem_sep void setVisited concode_elem_sep int visit concode_elem_sep int getVisitedDepth
target: void function ( ) { if ( done ) return ; while ( myElements . hasNext ( ) ) { Object loc0 = myElements . next ( ) ; if ( ! isVisited ( loc0 ) ) { visit ( loc0 , 1 ) ; } } }