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
Modifier and TypeFieldDescriptionstatic final int
Continue Fromvisit()
: continue traversal as usual.static final int
Finish(ed) Fromvisit()
: terminate traversal with a successful result.static final int
Terminate(d) Fromvisit()
: terminate traversal with an unsuccessful result.
-
Field Details
-
CONTINUE
static final int CONTINUEContinue Fromvisit()
: continue traversal as usual. This value is never returned bytraverse()
.- See Also:
-
FINISHED
static final int FINISHEDFinish(ed) Fromvisit()
: terminate traversal with a successful result. Fromtraverse()
: traversal terminated successfully. Either a call tovisit()
returnedFINISHED
, or all calls tovisit()
returnedCONTINUE
.- See Also:
-
TERMINATE
static final int TERMINATETerminate(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:
-