public static class AstNode.PositionComparator extends java.lang.Object implements java.util.Comparator<AstNode>, java.io.Serializable
| Constructor and Description |
|---|
PositionComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(AstNode n1,
AstNode n2)
Sorts nodes by (relative) start position.
|