public R scan ( Iterable < ? extends Tree > nodes , P p ) { R r = null ; if ( nodes != null ) { boolean first = true ; for ( Tree node : nodes ) { r = ( first ? scan ( node , p ) : scanAndReduce ( node , p , r ) ) ; first = false ; } } return r ; }
Scans a sequence of nodes .