Package ghidra.pcodeCPort.slghpatexpress
Class BinaryExpression
- java.lang.Object
-
- ghidra.pcodeCPort.slghpatexpress.PatternExpression
-
- ghidra.pcodeCPort.slghpatexpress.BinaryExpression
-
- Direct Known Subclasses:
AndExpression
,DivExpression
,LeftShiftExpression
,MultExpression
,OrExpression
,PlusExpression
,RightShiftExpression
,SubExpression
,XorExpression
public abstract class BinaryExpression extends PatternExpression
-
-
Field Summary
-
Fields inherited from class ghidra.pcodeCPort.slghpatexpress.PatternExpression
location
-
-
Constructor Summary
Constructors Constructor Description BinaryExpression(Location location)
BinaryExpression(Location location, PatternExpression l, PatternExpression r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
TokenPattern
genMinPattern(VectorSTL<TokenPattern> ops)
PatternExpression
getLeft()
void
getMinMax(VectorSTL<java.lang.Long> minlist, VectorSTL<java.lang.Long> maxlist)
PatternExpression
getRight()
void
listValues(VectorSTL<PatternValue> list)
void
restoreXml(org.jdom.Element el, Translate trans)
void
saveXml(java.io.PrintStream s)
-
Methods inherited from class ghidra.pcodeCPort.slghpatexpress.PatternExpression
getSubValue, getSubValue, getValue, layClaim, release, restoreExpression
-
-
-
-
Constructor Detail
-
BinaryExpression
public BinaryExpression(Location location)
-
BinaryExpression
public BinaryExpression(Location location, PatternExpression l, PatternExpression r)
-
-
Method Detail
-
getLeft
public PatternExpression getLeft()
-
getRight
public PatternExpression getRight()
-
genMinPattern
public TokenPattern genMinPattern(VectorSTL<TokenPattern> ops)
- Specified by:
genMinPattern
in classPatternExpression
-
listValues
public void listValues(VectorSTL<PatternValue> list)
- Specified by:
listValues
in classPatternExpression
-
getMinMax
public void getMinMax(VectorSTL<java.lang.Long> minlist, VectorSTL<java.lang.Long> maxlist)
- Specified by:
getMinMax
in classPatternExpression
-
dispose
public void dispose()
- Overrides:
dispose
in classPatternExpression
-
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
-
-