[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Comparing (with compare framework) two ASTs

Hi,

Want to use the compare framework to find diff between two instances of 
source code (AST - CompilationUnit).
Interested in UI independent information more fine-grained than in the 
change deltas provided to listeners by JavaCore.

1.I`m considering: Creating a tree of DocumentRangeNodes based on the AST 
and then compare with the framework. Would this be a good solution?
2.Am I implementing something that`s already available through the API?
3.Any suggestion on where to look for references on how to do this?

Thanks,
Otto