Class SleighConstructorTraversal.SubVisitor
java.lang.Object
ghidra.app.plugin.languages.sleigh.SleighConstructorTraversal.SubVisitor
- All Implemented Interfaces:
SubtableEntryVisitor
,VisitorResults
- Enclosing class:
SleighConstructorTraversal
protected static class SleighConstructorTraversal.SubVisitor
extends Object
implements SubtableEntryVisitor
An internal visitor
The
SleighConstructorTraversal.traverse(ConstructorEntryVisitor)
method iterates
over each subtable, traversing each with this visitor. This visitor wraps the visitor given
by the caller.-
Field Summary
Modifier and TypeFieldDescriptionprotected final ConstructorEntryVisitor
protected final SubtableSymbol
Fields inherited from interface ghidra.app.plugin.languages.sleigh.VisitorResults
CONTINUE, FINISHED, TERMINATE
-
Constructor Summary
ModifierConstructorDescriptionprotected
SubVisitor
(SubtableSymbol subtable, ConstructorEntryVisitor cev) Prepare to traverse a subtable -
Method Summary
Modifier and TypeMethodDescriptionint
visit
(DisjointPattern pattern, Constructor cons) Callback to visit a constructor
-
Field Details
-
subtable
-
cev
-
-
Constructor Details
-
SubVisitor
Prepare to traverse a subtable- Parameters:
subtable
- the subtablecev
- the wrapped constructor visitor to invoke
-
-
Method Details
-
visit
Description copied from interface:SubtableEntryVisitor
Callback to visit a constructor- Specified by:
visit
in interfaceSubtableEntryVisitor
- Parameters:
pattern
- the pattern corresponding to the constructorcons
- the constructor- Returns:
- a value from
VisitorResults
-