Package ghidra.app.plugin.processors.sleigh.expression

# Class BinaryExpression

java.lang.Object
ghidra.app.plugin.processors.sleigh.expression.PatternExpression
ghidra.app.plugin.processors.sleigh.expression.BinaryExpression

Direct Known Subclasses:
  `AndExpression`, `DivExpression`, `LeftShiftExpression`, `MultExpression`, `OrExpression`, `PlusExpression`, `RightShiftExpression`, `SubExpression`, `XorExpression`

public abstract class BinaryExpression extends PatternExpression
Base class for binary operators that combine PatternExpressions

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BinaryExpression()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `decode(Decoder decoder, SleighLanguage lang)`
  `boolean`
  `equals(Object obj)`
  `PatternExpression`
  `getLeft()`
  `PatternExpression`
  `getRight()`
  `int`
  `hashCode()`

  ### Methods inherited from class ghidra.app.plugin.processors.sleigh.expression.PatternExpression

  `decodeExpression, getValue, toString`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### BinaryExpression

    public BinaryExpression()

- ## Method Details

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### getLeft

    public PatternExpression getLeft()

  - ### getRight

    public PatternExpression getRight()

  - ### decode

    public void decode(Decoder decoder, SleighLanguage lang) throws DecoderException
    Specified by:
      `decode` in class `PatternExpression`
    Throws:
      `DecoderException`