Package: org.codehaus.groovy.macro.matcher

## [Java] Interface NodeComparator

-     public interface NodeComparator

  Compares two AST nodes for matcher purposes.

  Since:
    2.5.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `equals(ASTNode a, ASTNode b)` Compares two AST nodes.

- - ### Method Detail

    - #### public boolean equals(ASTNode a, ASTNode b)

      Compares two AST nodes.

      Parameters:
        `a` - the first node
        `b` - the second node
      Returns:
        `true` if the nodes are considered equal