[ 
https://issues.apache.org/jira/browse/GROOVY-7488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614881#comment-14614881
 ] 

Paul King commented on GROOVY-7488:
-----------------------------------

There are {{depthFirst()}} and {{breadthFirst()}} methods in {{GPathResult}} 
(for {{XmlSlurper}}), {{groovy.util.Node}} and {{DOMCategory}}.

> Depth 1st and Breath 1st taking a closure
> -----------------------------------------
>
>                 Key: GROOVY-7488
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7488
>             Project: Groovy
>          Issue Type: Improvement
>          Components: groovy-jdk
>            Reporter: Suminda Dharmasena
>            Priority: Minor
>
> E.g.
> n.depthFirst { level, node -> ... }
> NB: there is level



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to