Interface Matcher

All Known Implementing Classes:
JsSourceMatcher

public interface Matcher
Interface for a class that knows how to match a Node for a specific pattern. For example of Matchers, see Matchers.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(Node n, NodeMetadata metadata)
    Returns true if the specified Node and NodeMetadata match the given pattern.