Void
for visitors that do not need to return results.
Void
for visitors that do not need an
additional parameter.
Modifier and Type | Field and Description |
---|---|
private DocTreePath |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public DocTreePath | Returns: the current pathReturns the current path for the node, as built up by the currently active set of scan calls. |
public R | Returns: the result returned from the main visitor methodthe path path, P a value to be passed to visitor methods p)Scans a tree from a position identified by a tree path. |
public R | Returns: the result returned from the main visitor methodthe tree to be scanned tree, P a value to be passed to visitor methods p)Overrides com. |
path | back to summary |
---|---|
private DocTreePath path |
DocTreePathScanner | back to summary |
---|---|
public DocTreePathScanner() Constructs a |
getCurrentPath | back to summary |
---|---|
public DocTreePath getCurrentPath() Returns the current path for the node, as built up by the currently active set of scan calls.
|
scan | back to summary |
---|---|
public R scan(DocTreePath path, P p) Scans a tree from a position identified by a tree path.
|
scan | back to summary |
---|---|
public R scan(DocTree tree, P p) Overrides com. Scans a single node. The current path is updated for the duration of the scan. |