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

# Class ConstantValueMatcher

java.lang.Object
ghidra.app.plugin.assembler.sleigh.expr.match.AbstractExpressionMatcher<ConstantValue>
ghidra.app.plugin.assembler.sleigh.expr.match.ConstantValueMatcher

All Implemented Interfaces:
  `ExpressionMatcher<ConstantValue>`

public class ConstantValueMatcher extends AbstractExpressionMatcher<ConstantValue>
A matcher for a given constant value

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface ghidra.app.plugin.assembler.sleigh.expr.match.ExpressionMatcher

  `ExpressionMatcher.Context`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final long`
  `value`

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

  `ops`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConstantValueMatcher(long value)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `matchDetails(ConstantValue expression, Map<ExpressionMatcher<?>,PatternExpression> result)`

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

  `expressionsIdenticallyDefined, match, opMatches, recordResult`

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

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

  ### Methods inherited from interface ghidra.app.plugin.assembler.sleigh.expr.match.ExpressionMatcher

  `get, match`

- ## Field Details

  - ### value

    protected final long value

- ## Constructor Details

  - ### ConstantValueMatcher

    public ConstantValueMatcher(long value)

- ## Method Details

  - ### matchDetails

    protected boolean matchDetails(ConstantValue expression, Map<ExpressionMatcher<?>,PatternExpression> result)
    Specified by:
      `matchDetails` in class `AbstractExpressionMatcher<ConstantValue>`