You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where I need the information of the target nodes in the EditScript. However, only the target node text is passed to the Update objects. For example the code at code_diff/__init__.py:L200 is
ifsource_ast.type==target_ast.typeandlen(source_ast.children) ==0andlen(target_ast.children) ==0:
# Both nodes are tokens of the same type # Only an update is requiredreturnEditScript([Update(source_ast, target_ast.text)])