Package ghidra.app.plugin.languages.sleigh

# Interface VisitorResults

All Known Subinterfaces:
  `ConstructorEntryVisitor`, `PcodeOpEntryVisitor`, `SubtableEntryVisitor`

All Known Implementing Classes:
  `SleighConstructorTraversal`, `SleighConstructorTraversal.SubVisitor`, `SleighLanguages.ConsVisitForPcode`

public interface VisitorResults
Some constants for controlling traversal A callback (`visit()`) can return one of these constants to control whether or not traversal continues. `traverse()` methods will return a value to indicate how traversal terminated.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONTINUE`
  Continue From `visit()`: continue traversal as usual.
  `static final int`
  `FINISHED`
  Finish(ed) From `visit()`: terminate traversal with a successful result.
  `static final int`
  `TERMINATE`
  Terminate(d) From `visit()`: terminate traversal with an unsuccessful result.

- ## Field Details

  - ### CONTINUE

    static final int CONTINUE
    Continue From `visit()`: continue traversal as usual. This value is never returned by `traverse()`.
    See Also:
      - Constant Field Values

  - ### FINISHED

    static final int FINISHED
    Finish(ed) From `visit()`: terminate traversal with a successful result. From `traverse()`: traversal terminated successfully. Either a call to `visit()` returned `FINISHED`, or all calls to `visit()` returned `CONTINUE`.
    See Also:
      - Constant Field Values

  - ### TERMINATE

    static final int TERMINATE
    Terminate(d) From `visit()`: terminate traversal with an unsuccessful result. From `traverse()`: traversal terminated unsuccessful. Either a call to `visit()` returned `TERMINATE`, or there was an error during traversal.
    See Also:
      - Constant Field Values