Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361727 - [pivot] Rework Outlines to display AST
Summary: [pivot] Rework Outlines to display AST
Status: RESOLVED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.2.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 07:21 EDT by Ed Willink CLA
Modified: 2014-11-27 13:07 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-10-22 07:21:54 EDT
The Outlines have not tracked the introduction of the pivot model.

The Xtext traversal must be of CS nodes, but this can be mapped via createChildren to show a more AST-like perspective.

This is important to show hierarchy in expressions and also lets.
Comment 1 Ed Willink CLA 2014-05-27 13:23:12 EDT
Doesn't seem that important, but in principle we need the AST view to more accurately show the OCL debugger state.
Comment 2 Ed Willink CLA 2014-11-27 13:07:32 EST
Outlines changed to be AS-based.

Complete OCL has an ill-disciplined context syntax and so the top of the Complete OCL has to be CS based.

CS-less AS nodes such as oclAsSet() are mapped to the intervening punctuation.

Debugger is probably clearer with AS too. Needs Bug 434199 to make it genuinely better.

Pushed to ewillink/ocl25