Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361727

Summary: [pivot] Rework Outlines to display AST
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

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