# Uses of Interface
com.sun.source.doctree.DocTreeVisitor

Packages that use DocTreeVisitor
Package
Description
com.sun.source.doctree
Provides interfaces to represent documentation comments as abstract syntax trees (AST).
com.sun.source.util
Provides utilities for operations on abstract syntax trees (AST).

## Uses of DocTreeVisitor in com.sun.source.doctree

Methods in com.sun.source.doctree with parameters of type DocTreeVisitor
Modifier and Type
Method
Description
`<R, D> R`
DocTree.`accept(DocTreeVisitor<R,D> visitor, D data)`
Accept method used to implement the visitor pattern.

## Uses of DocTreeVisitor in com.sun.source.util

Classes in com.sun.source.util that implement DocTreeVisitor
Modifier and Type
Class
Description
`class`
`DocTreePathScanner<R,P>`
A DocTreeVisitor that visits all the child tree nodes, and provides support for maintaining a path for the parent nodes.
`class`
`DocTreeScanner<R,P>`
A DocTreeVisitor that visits all the child tree nodes.
`class`
`SimpleDocTreeVisitor<R,P>`
A simple visitor for tree nodes.