|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mozilla.javascript.ast.AstNode.PositionComparator
public static class AstNode.PositionComparator
Constructor Summary | |
---|---|
AstNode.PositionComparator()
|
Method Summary | |
---|---|
int |
compare(AstNode n1,
AstNode n2)
Sorts nodes by (relative) start position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public AstNode.PositionComparator()
Method Detail |
---|
public int compare(AstNode n1, AstNode n2)
compare
in interface java.util.Comparator<AstNode>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |