Package ghidra.pcodeCPort.slghpatexpress
Class ContextField
- java.lang.Object
-
- ghidra.pcodeCPort.slghpatexpress.PatternExpression
-
- ghidra.pcodeCPort.slghpatexpress.PatternValue
-
- ghidra.pcodeCPort.slghpatexpress.ContextField
-
public class ContextField extends PatternValue
-
-
Field Summary
-
Fields inherited from class ghidra.pcodeCPort.slghpatexpress.PatternExpression
location
-
-
Constructor Summary
Constructors Constructor Description ContextField(Location location)
ContextField(Location location, boolean s, int sbit, int ebit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenPattern
genMinPattern(VectorSTL<TokenPattern> ops)
TokenPattern
genPattern(long val)
int
getEndBit()
boolean
getSignBit()
int
getStartBit()
long
getValue(ParserWalker pos)
long
maxValue()
long
minValue()
void
restoreXml(org.jdom.Element el, Translate trans)
void
saveXml(java.io.PrintStream s)
java.lang.String
toString()
-
Methods inherited from class ghidra.pcodeCPort.slghpatexpress.PatternValue
getMinMax, getSubValue, listValues
-
Methods inherited from class ghidra.pcodeCPort.slghpatexpress.PatternExpression
dispose, getSubValue, layClaim, release, restoreExpression
-
-
-
-
Method Detail
-
getStartBit
public int getStartBit()
-
getEndBit
public int getEndBit()
-
getSignBit
public boolean getSignBit()
-
genMinPattern
public TokenPattern genMinPattern(VectorSTL<TokenPattern> ops)
- Specified by:
genMinPattern
in classPatternExpression
-
minValue
public long minValue()
- Specified by:
minValue
in classPatternValue
-
maxValue
public long maxValue()
- Specified by:
maxValue
in classPatternValue
-
getValue
public long getValue(ParserWalker pos)
- Specified by:
getValue
in classPatternExpression
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
genPattern
public TokenPattern genPattern(long val)
- Specified by:
genPattern
in classPatternValue
-
saveXml
public void saveXml(java.io.PrintStream s)
- Specified by:
saveXml
in classPatternExpression
-
restoreXml
public void restoreXml(org.jdom.Element el, Translate trans)
- Specified by:
restoreXml
in classPatternExpression
-
-