Package ghidra.pcodeCPort.slghpatexpress
Class OperandValue
- java.lang.Object
-
- ghidra.pcodeCPort.slghpatexpress.PatternExpression
-
- ghidra.pcodeCPort.slghpatexpress.PatternValue
-
- ghidra.pcodeCPort.slghpatexpress.OperandValue
-
public class OperandValue extends PatternValue
-
-
Field Summary
-
Fields inherited from class ghidra.pcodeCPort.slghpatexpress.PatternExpression
location
-
-
Constructor Summary
Constructors Constructor Description OperandValue(Location location)
OperandValue(Location location, int ind, Constructor c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changeIndex(int newind)
TokenPattern
genMinPattern(VectorSTL<TokenPattern> ops)
TokenPattern
genPattern(long val)
java.lang.String
getName()
long
getSubValue(VectorSTL<java.lang.Long> replace, MutableInt listpos)
long
getValue(ParserWalker pos)
boolean
isConstructorRelative()
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, listValues
-
Methods inherited from class ghidra.pcodeCPort.slghpatexpress.PatternExpression
dispose, getSubValue, layClaim, release, restoreExpression
-
-
-
-
Constructor Detail
-
OperandValue
public OperandValue(Location location)
-
OperandValue
public OperandValue(Location location, int ind, Constructor c)
-
-
Method Detail
-
changeIndex
public void changeIndex(int newind)
-
genMinPattern
public TokenPattern genMinPattern(VectorSTL<TokenPattern> ops)
- Specified by:
genMinPattern
in classPatternExpression
-
genPattern
public TokenPattern genPattern(long val)
- Specified by:
genPattern
in classPatternValue
-
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
-
getSubValue
public long getSubValue(VectorSTL<java.lang.Long> replace, MutableInt listpos)
- Overrides:
getSubValue
in classPatternValue
-
isConstructorRelative
public boolean isConstructorRelative()
-
getName
public java.lang.String getName()
-
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
-
-