public Diff compare ( CtElement left , CtElement right ) { final SpoonGumTreeBuilder scanner = new SpoonGumTreeBuilder ( ) ; return new DiffImpl ( scanner . getTreeContext ( ) , scanner . getTree ( left ) , scanner . getTree ( right ) ) ; }
compares two AST nodes