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

# Class UnaryExpression

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

Direct Known Subclasses:
  `MinusExpression`, `NotExpression`

public abstract class UnaryExpression extends PatternExpression
Base class for unary operators on PatternExpressions

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UnaryExpression()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `decode(Decoder decoder, SleighLanguage lang)`
  `boolean`
  `equals(Object obj)`
  `PatternExpression`
  `getUnary()`
  `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

  - ### UnaryExpression

    public UnaryExpression()

- ## Method Details

  - ### hashCode

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

  - ### equals

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

  - ### getUnary

    public PatternExpression getUnary()

  - ### decode

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