Class AssemblyContextGraph.Vertex
java.lang.Object
ghidra.app.plugin.assembler.sleigh.sem.AssemblyContextGraph.Vertex
- All Implemented Interfaces:
Comparable<AssemblyContextGraph.Vertex>
- Enclosing class:
AssemblyContextGraph
protected static class AssemblyContextGraph.Vertex
extends Object
implements Comparable<AssemblyContextGraph.Vertex>
A vertex in a context transition graph
Each vertex consists of a context block and a (sub-)table name
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Vertex
(AssemblyPatternBlock context, String subtable) Construct a new vertex with the given block and sub-table name -
Method Summary
-
Field Details
-
context
-
subtable
-
-
Constructor Details
-
Vertex
Construct a new vertex with the given block and sub-table name- Parameters:
context
- the contextsubtable
- the name
-
-
Method Details
-
matches
Check if this and another vertex "agree"This does not mean they are equal, but that they share a sub-table, and the defined bits of their context blocks agree.
- Parameters:
that
- the other vertex- Returns:
- true iff they share sub-tables and defined bits
-
hashCode
public int hashCode() -
toString
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AssemblyContextGraph.Vertex>
-