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 int
CONTINUE
Continue Fromvisit()
: continue traversal as usual.static int
FINISHED
Finish(ed) Fromvisit()
: terminate traversal with a successful result.static int
TERMINATE
Terminate(d) Fromvisit()
: terminate traversal with an unsuccessful result.
-
-
-
Field Detail
-
CONTINUE
static final int CONTINUE
Continue Fromvisit()
: continue traversal as usual. This value is never returned bytraverse()
.- See Also:
- Constant Field Values
-
FINISHED
static final int FINISHED
Finish(ed) Fromvisit()
: terminate traversal with a successful result. Fromtraverse()
: traversal terminated successfully. Either a call tovisit()
returnedFINISHED
, or all calls tovisit()
returnedCONTINUE
.- See Also:
- Constant Field Values
-
TERMINATE
static final int TERMINATE
Terminate(d) Fromvisit()
: terminate traversal with an unsuccessful result. Fromtraverse()
: traversal terminated unsuccessful. Either a call tovisit()
returnedTERMINATE
, or there was an error during traversal.- See Also:
- Constant Field Values
-
-