public final class SyntacticEquivalence extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areEquivalent(List<? extends Tree> leftList,
List<? extends Tree> rightList) |
static boolean |
areEquivalent(Tree leftNode,
Tree rightNode) |
protected static boolean |
areLeafsEquivalent(JavaScriptTree leftNode,
JavaScriptTree rightNode)
Caller must guarantee that nodes of the same kind.
|
public static boolean areEquivalent(List<? extends Tree> leftList, List<? extends Tree> rightList)
public static boolean areEquivalent(@Nullable Tree leftNode, @Nullable Tree rightNode)
protected static boolean areLeafsEquivalent(JavaScriptTree leftNode, JavaScriptTree rightNode)
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.