Delete simplified trees except canonical simple trees to save more space.
This commit is contained in:
@@ -59,7 +59,7 @@ public class SimplifyTree {
|
|||||||
actions.add(action);
|
actions.add(action);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sourceCodeSimpleTree = sourceCodeTree(actions);
|
// sourceCodeSimpleTree = sourceCodeTree(actions);
|
||||||
simpleTree = canonicalizeSourceCodeTree(actions, null);
|
simpleTree = canonicalizeSourceCodeTree(actions, null);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -79,15 +79,14 @@ public class SimplifyTree {
|
|||||||
}
|
}
|
||||||
tree.setChildren(newChildren);
|
tree.setChildren(newChildren);
|
||||||
}
|
}
|
||||||
sourceCodeSimpleTree = originalSourceCodeTree(tree, null);
|
// sourceCodeSimpleTree = originalSourceCodeTree(tree, null);
|
||||||
// abstractIdentifierTree = abstractIdentifierTree(actionSet, tree, null);
|
// abstractIdentifierTree = abstractIdentifierTree(actionSet, tree, null);
|
||||||
// abstractSimpleTree = semiSourceCodeTree(actionSet, tree, null);
|
// abstractSimpleTree = semiSourceCodeTree(actionSet, tree, null);
|
||||||
simpleTree = canonicalizeSourceCodeTree(tree, null);
|
simpleTree = canonicalizeSourceCodeTree(tree, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
// actionSet.setAbstractSimpleTree(abstractSimpleTree);
|
actionSet.setAbstractSimpleTree(abstractSimpleTree);
|
||||||
// actionSet.setAbstractIdentifierTree(abstractIdentifierTree);
|
actionSet.setAbstractIdentifierTree(abstractIdentifierTree);
|
||||||
// actionSet.setSimpleTree(sourceCodeSimpleTree);
|
|
||||||
actionSet.setSimpleTree(simpleTree);
|
actionSet.setSimpleTree(simpleTree);
|
||||||
actionSet.setOriginalTree(sourceCodeSimpleTree);
|
actionSet.setOriginalTree(sourceCodeSimpleTree);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user