Interface NodeComparator


public interface NodeComparator
Compares two AST nodes for matcher purposes.
Since:
2.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compares two AST nodes.
  • Method Details

    • equals

      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