compare
public int compare(AstNode n1,
AstNode n2)
Sorts nodes by (relative) start position. The start positions are
relative to their parent, so this comparator is only meaningful for
comparing siblings.
- 指定者:
compare
在接口中 java.util.Comparator<AstNode>