Interface IDMatchVerifier

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IDMatchVerifier
Verifier of an IR pattern and the candidate matched IR expression.
  • Method Details

    • verify

      boolean verify(DPatternMatcher matcher, DPatternMatcher.Result result)
      Verify a candidate pattern match.
      Parameters:
      matcher - matcher that produced the result
      result - candidate match result
      Returns:
      true if the match should be accepted