def getChanges(s, t, ignoreVariables=False):
changes = diffAsts(s, t, ignoreVariables=ignoreVariables)
for change in changes:
change.start = s # WARNING: should maybe have a deepcopy here? It will alias s
return changes
评论列表
文章目录