Package ghidra.app.plugin.assembler.sleigh.expr

# Class MinusExpressionSolver

java.lang.Object
ghidra.app.plugin.assembler.sleigh.expr.AbstractExpressionSolver<MinusExpression>
ghidra.app.plugin.assembler.sleigh.expr.AbstractUnaryExpressionSolver<MinusExpression>
ghidra.app.plugin.assembler.sleigh.expr.MinusExpressionSolver

public class MinusExpressionSolver extends AbstractUnaryExpressionSolver<MinusExpression>
Solves expressions of the form `-A`

- ## Field Summary

  ### Fields inherited from class ghidra.app.plugin.assembler.sleigh.expr.AbstractExpressionSolver

  `solver`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MinusExpressionSolver()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MaskedLong`
  `compute(MaskedLong val)`
  Compute the result of applying the operator to the given value

  ### Methods inherited from class ghidra.app.plugin.assembler.sleigh.expr.AbstractUnaryExpressionSolver

  `computeInverse, getInstructionLength, getValue, solve, valueForResolution`

  ### Methods inherited from class ghidra.app.plugin.assembler.sleigh.expr.AbstractExpressionSolver

  `register`

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

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MinusExpressionSolver

    public MinusExpressionSolver()

- ## Method Details

  - ### compute

    public MaskedLong compute(MaskedLong val)
    Description copied from class: `AbstractUnaryExpressionSolver`
    Compute the result of applying the operator to the given value
    Specified by:
      `compute` in class `AbstractUnaryExpressionSolver<MinusExpression>`
    Parameters:
      `val` - the input value
    Returns:
      the result