Searched refs:TreeTraversal (Results 1 – 1 of 1) sorted by relevance
52 import static com.github.javaparser.ast.Node.TreeTraversal.PREORDER;724 public enum TreeTraversal { enum729 private Iterator<Node> treeIterator(TreeTraversal traversal) { in treeIterator()746 private Iterable<Node> treeIterable(TreeTraversal traversal) { in treeIterable()753 public Stream<Node> stream(TreeTraversal traversal) { in stream()768 public void walk(TreeTraversal traversal, Consumer<Node> consumer) { in walk()786 walk(TreeTraversal.PREORDER, node -> { in walk()819 … public <T> Optional<T> findFirst(TreeTraversal traversal, Function<Node, Optional<T>> consumer) { in findFirst()833 return findFirst(TreeTraversal.PREORDER, node -> { in findFirst()846 return findFirst(TreeTraversal.PREORDER, node -> {