Package ghidra.pcodeCPort.slghpatexpress
Class ConstantValue
- java.lang.Object
-
- ghidra.pcodeCPort.slghpatexpress.PatternExpression
-
- ghidra.pcodeCPort.slghpatexpress.PatternValue
-
- ghidra.pcodeCPort.slghpatexpress.ConstantValue
-
public class ConstantValue extends PatternValue
-
-
Field Summary
-
Fields inherited from class ghidra.pcodeCPort.slghpatexpress.PatternExpression
location
-
-
Constructor Summary
Constructors Constructor Description ConstantValue(Location location)
ConstantValue(Location location, long v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenPattern
genMinPattern(VectorSTL<TokenPattern> ops)
TokenPattern
genPattern(long v)
long
getValue(ParserWalker pos)
long
maxValue()
long
minValue()
void
restoreXml(org.jdom.Element el, Translate trans)
void
saveXml(java.io.PrintStream s)
-
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
-
getValue
public long getValue(ParserWalker pos)
- Specified by:
getValue
in classPatternExpression
-
genMinPattern
public TokenPattern genMinPattern(VectorSTL<TokenPattern> ops)
- Specified by:
genMinPattern
in classPatternExpression
-
genPattern
public TokenPattern genPattern(long v)
- Specified by:
genPattern
in classPatternValue
-
minValue
public long minValue()
- Specified by:
minValue
in classPatternValue
-
maxValue
public long maxValue()
- Specified by:
maxValue
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
-
-