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
FieldsModifier and TypeFieldDescriptionprotected final ConstructorEntryVisitorprotected final SubtableSymbolFields inherited from interface ghidra.app.plugin.languages.sleigh.VisitorResults
CONTINUE, FINISHED, TERMINATE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSubVisitor(SubtableSymbol subtable, ConstructorEntryVisitor cev) Prepare to traverse a subtable -
Method Summary
Modifier and TypeMethodDescriptionintvisit(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:SubtableEntryVisitorCallback to visit a constructor- Specified by:
visitin interfaceSubtableEntryVisitor- Parameters:
pattern- the pattern corresponding to the constructorcons- the constructor- Returns:
- a value from
VisitorResults
-