Package ghidra.pcodeCPort.slghpatexpress
Class PatternEquation
- java.lang.Object
-
- ghidra.pcodeCPort.slghpatexpress.PatternEquation
-
- Direct Known Subclasses:
EquationAnd
,EquationCat
,EquationLeftEllipsis
,EquationOr
,EquationRightEllipsis
,OperandEquation
,UnconstrainedEquation
,ValExpressEquation
public abstract class PatternEquation extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PatternEquation(Location location)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
dispose()
abstract void
genPattern(VectorSTL<TokenPattern> ops)
TokenPattern
getTokenPattern()
void
layClaim()
void
operandOrder(Constructor ct, VectorSTL<OperandSymbol> order)
returns a vector of the self-defining OperandSymbols as they appear in left to right order in the patternstatic void
release(PatternEquation pateq)
abstract boolean
resolveOperandLeft(OperandResolve state)
protected void
setTokenPattern(TokenPattern tokenPattern)
-
-
-
Field Detail
-
location
public final Location location
-
-
Constructor Detail
-
PatternEquation
public PatternEquation(Location location)
-
-
Method Detail
-
setTokenPattern
protected final void setTokenPattern(TokenPattern tokenPattern)
-
dispose
protected void dispose()
-
getTokenPattern
public TokenPattern getTokenPattern()
-
genPattern
public abstract void genPattern(VectorSTL<TokenPattern> ops)
-
resolveOperandLeft
public abstract boolean resolveOperandLeft(OperandResolve state)
-
operandOrder
public void operandOrder(Constructor ct, VectorSTL<OperandSymbol> order)
returns a vector of the self-defining OperandSymbols as they appear in left to right order in the pattern- Parameters:
ct
- is the Constructor containing the operandsorder
- is the vector that will hold the ordered list
-
layClaim
public void layClaim()
-
release
public static void release(PatternEquation pateq)
-
-