eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[ast] Optionally persist comments and token locations #518

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 303442 | | Status | CLOSED WONTFIX | | Importance | P3 enhancement | | Reported | Feb 21, 2010 11:17 EDT | | Modified | May 20, 2013 11:37 EDT | | Version | 3.0.0 | | Blocks | 318358 | | Reporter | Ed Willink |

Description

Debuggers need access to token locations.

OCL embedded in Ecore needs to support comment persistence.

Suggest addition of an Ecore EAnnotation or EMOF Comment to provide additional debug context when the user requests it.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Nov 08, 2011 05:02

OCLinEcore supports persistence of /* / comments as Genmodel documentation EAnnotations.

I'm not convinced that AST-level traceability is essential. I suspect that useable tools will compile and debug and so will not lose the CST and tokens.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on May 20, 2013 11:37

CLOSED after a year in the RESOLVED state.