Class SleighConstructorTraversal
- java.lang.Object
-
- ghidra.app.plugin.languages.sleigh.SleighConstructorTraversal
-
- All Implemented Interfaces:
VisitorResults
public class SleighConstructorTraversal extends java.lang.Object implements VisitorResults
A class to traverse SLEIGH constructors in a language
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
SleighConstructorTraversal.SubVisitor
An internal visitor Thetraverse(ConstructorEntryVisitor)
method iterates over each subtable, traversing each with this visitor.
-
Field Summary
Fields Modifier and Type Field Description protected SleighLanguage
lang
-
Fields inherited from interface ghidra.app.plugin.languages.sleigh.VisitorResults
CONTINUE, FINISHED, TERMINATE
-
-
Constructor Summary
Constructors Constructor Description SleighConstructorTraversal(SleighLanguage lang)
Prepare to traverse the constructors of a given SLEIGH language
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
traverse(ConstructorEntryVisitor visitor)
Traverse the constructors in the language
-
-
-
Field Detail
-
lang
protected final SleighLanguage lang
-
-
Constructor Detail
-
SleighConstructorTraversal
public SleighConstructorTraversal(SleighLanguage lang)
Prepare to traverse the constructors of a given SLEIGH language- Parameters:
lang
- the language
-
-
Method Detail
-
traverse
public int traverse(ConstructorEntryVisitor visitor)
Traverse the constructors in the language- Parameters:
visitor
- a callback for each constructor- Returns:
- a value from
VisitorResults
-
-