Bug 473417 - Make reconciling API more flexible
Summary: Make reconciling API more flexible
Status: RESOLVED FIXED
Alias: None
Product: Handly
Classification: Technology
Component: Core (show other bugs)
Version: 0.4   Edit
Hardware: All All
: P3 enhancement
Target Milestone: 0.4   Edit
Assignee: Vladimir Piskarev CLA
QA Contact:
URL:
Whiteboard: breakingchange
Keywords: api
Depends on:
Blocks: 475862
  Show dependency tree
 
Reported: 2015-07-23 10:59 EDT by Vladimir Piskarev CLA
Modified: 2015-08-27 10:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Piskarev CLA 2015-07-23 10:59:51 EDT
As a litmus test, can reconciling API of the JDT Java model be implemented on top of Handly? It seems that an additional 'Object' parameter to #reconcile methods in Handly API should do the trick. To be investigated.
Comment 2 Vladimir Piskarev CLA 2015-08-27 10:08:03 EDT
A reference implementation in Java model example:
http://git.eclipse.org/c/handly/org.eclipse.handly.git/commit/?id=87fa0d8e2589707ee8e5e111df4b7ebde14c8b99
Comment 3 Vladimir Piskarev CLA 2015-08-27 10:31:35 EDT
The sample implementation mentioned in comment 2 demonstrates support of reconcile parameters (AST level, reconcile flags) and return value (AST).