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 IEPatternReplacer
Custom replacer code for IR pattern. Used by EPatternMatcher's replace and searchAndReplace methods.
  • Method Details

    • replace

      Boolean replace(EPatternMatcher matcher, EPatternMatcher.Result result)
      Parameters:
      matcher - the matcher object
      result - the matching result
      Returns:
      success indicator; null to indicate that the replacement is to be performed by the matcher (default process, using the output pattern)