Class SleighLanguages.ConsVisitForPcode
java.lang.Object
ghidra.app.plugin.languages.sleigh.SleighLanguages.ConsVisitForPcode
- All Implemented Interfaces:
ConstructorEntryVisitor
,VisitorResults
- Enclosing class:
SleighLanguages
protected static class SleighLanguages.ConsVisitForPcode
extends Object
implements ConstructorEntryVisitor
An internal visitor
The
SleighLanguages.traverseAllPcodeOps(SleighLanguage, PcodeOpEntryVisitor)
method
uses this visitor to traverse every constructor a given language. For each constructor, it
then applies another (anonymous) visitor to traverse each Pcode operation in the visited
constructor. That anonymous visitor wraps the visitor given by the caller.-
Field Summary
Fields inherited from interface ghidra.app.plugin.languages.sleigh.VisitorResults
CONTINUE, FINISHED, TERMINATE
-
Constructor Summary
ConstructorDescriptionConsVisitForPcode
(PcodeOpEntryVisitor visitor) Prepare to traverse a constructor -
Method Summary
Modifier and TypeMethodDescriptionint
visit
(SubtableSymbol subtable, DisjointPattern pattern, Constructor cons) Callback to visit a constructor
-
Field Details
-
visitor
-
-
Constructor Details
-
ConsVisitForPcode
Prepare to traverse a constructor- Parameters:
visitor
- the wrapped Pcode operation visitor to invoke
-
-
Method Details
-
visit
Description copied from interface:ConstructorEntryVisitor
Callback to visit a constructor- Specified by:
visit
in interfaceConstructorEntryVisitor
- Parameters:
subtable
- the table containing the constructorpattern
- the pattern corresponding to the constructorcons
- the constructor- Returns:
- a value from
VisitorResults
-