| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static List | calculate(LexicalDifferenceCalculator.
Calculate the Difference between two CalculatedSyntaxModel elements, determining which elements were kept, which were added and which were removed. |
| private static List | |
| private static void | |
| private static int | |
| private static long | |
| private static Map | findChildrenPositions(LexicalDifferenceCalculator.
Find the positions of all the given children. |
| pack-priv static boolean | |
| pack-priv static void | removeIndentationElements(List<DifferenceElement> elements)
Remove from the difference all the elements related to indentation. |
| private static boolean |
| DifferenceElementCalculator | back to summary |
|---|---|
| pack-priv DifferenceElementCalculator() | |
| calculate | back to summary |
|---|---|
| pack-priv static List Calculate the Difference between two CalculatedSyntaxModel elements, determining which elements were kept, which were added and which were removed. | |
| calculateImpl | back to summary |
|---|---|
| private static List | |
| considerRemoval | back to summary |
|---|---|
| private static void considerRemoval(NodeText nodeTextForChild, List<DifferenceElement> elements) | |
| considerRemoval | back to summary |
|---|---|
| private static int considerRemoval(CsmElement removedElement, int originalIndex, List<DifferenceElement> elements) | |
| cost | back to summary |
|---|---|
| private static long cost(List<DifferenceElement> elements) | |
| findChildrenPositions | back to summary |
|---|---|
| private static Map Find the positions of all the given children. | |
| matching | back to summary |
|---|---|
| pack-priv static boolean matching(CsmElement a, CsmElement b) | |
| removeIndentationElements | back to summary |
|---|---|
| pack-priv static void removeIndentationElements(List<DifferenceElement> elements) Remove from the difference all the elements related to indentation. This is mainly intended for test purposes. | |
| replacement | back to summary |
|---|---|
| private static boolean replacement(CsmElement a, CsmElement b) | |