Enum Class AllPathsVisitor
- All Implemented Interfaces:
TreeTraversal.SpanIntersectingVisitor,TreeTraversal.Visitor,Serializable,Comparable<AllPathsVisitor>,Constable
public enum AllPathsVisitor
extends Enum<AllPathsVisitor>
implements TreeTraversal.SpanIntersectingVisitor
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncomposePath(TraceObjectValPath pre, TraceObjectValue value) When descending in a value, what path leads to the valuecontinueObject(TraceObjectValue value) When descending in a value, the object to consider nextStream<? extends TraceObjectValue> continueValues(TraceObject object, Lifespan span, TraceObjectValPath path) When descending in an object, the values to consider nextstatic AllPathsVisitorReturns the enum constant of this class with the specified name.static AllPathsVisitor[]values()Returns an array containing the constants of this enum class, in the order they are declared.visitValue(TraceObjectValue value, TraceObjectValPath path) Visit a valueMethods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ghidra.trace.database.target.visitors.TreeTraversal.SpanIntersectingVisitor
composeSpan
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
composePath
Description copied from interface:TreeTraversal.VisitorWhen descending in a value, what path leads to the valueThis is usually
TraceObjectValPath.append(TraceObjectValue)orTraceObjectValPath.prepend(TraceObjectValue).- Specified by:
composePathin interfaceTreeTraversal.Visitor- Parameters:
pre- the path from seed to the but excluding the current valuevalue- the path from seed to the and including the current value- Returns:
- the path from seed to and including the current value
-
visitValue
Description copied from interface:TreeTraversal.VisitorVisit a valueNote that the path is the composed path, so it will likely have the current value at its beginning or end.
- Specified by:
visitValuein interfaceTreeTraversal.Visitor- Parameters:
value- the current valuepath- the path from seed to value- Returns:
- directions for how traversal should proceed
-
continueObject
Description copied from interface:TreeTraversal.VisitorWhen descending in a value, the object to consider nextThis is usually
TraceObjectValue.getChild()orTraceObjectValue.getParent().- Specified by:
continueObjectin interfaceTreeTraversal.Visitor- Parameters:
value- the current value- Returns:
- the next object
-
continueValues
public Stream<? extends TraceObjectValue> continueValues(TraceObject object, Lifespan span, TraceObjectValPath path) Description copied from interface:TreeTraversal.VisitorWhen descending in an object, the values to consider next- Specified by:
continueValuesin interfaceTreeTraversal.Visitor- Parameters:
object- the current objectspan- the composed span of values from seed to the current objectpath- the path from seed to the current object- Returns:
- the next values
-