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

Bug 321584

Summary: The parser should provide support for warnings, informations and documentation
Product: [Modeling] Acceleo Reporter: Stephane Begaudeau <stephane.begaudeau>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: junk, laurent.goubet
Version: unspecifiedKeywords: contributed
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch v1.0
none
Patch v2.0 mariot.chauvin: iplog+

Description Stephane Begaudeau CLA 2010-08-03 08:24:06 EDT
Build Identifier: 

The Acceleo parser has a support for problems (errors) but not for warnings or informations.

The parser should provide:
1-warnings on some problems*
2-informations
3-comments in the AST
4-support for documentation in the CST and the AST

*warnings:
1- for any content before the module header except comment and documentation blocks.
2- for multiple "override". The OMG specification allow multiple override for templates but we only support a single one.

See (later) this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=304502 for UI support for documentation, informations and warnings.

Reproducible: Always
Comment 1 Stephane Begaudeau CLA 2010-08-03 08:24:41 EDT
Created attachment 175771 [details]
Patch v1.0
Comment 2 Stephane Begaudeau CLA 2010-08-05 07:57:21 EDT
Created attachment 175922 [details]
Patch v2.0

Improved version of the last patch, this patch will provided :
- support for warnings
- support for informations
- support for @TODO and @FIXME in comments
- support for the new documentation system [** ... /]
- support for deprecated on modules, templates, queries and macros
- documentation and comments in the AST
Comment 3 Laurent Goubet CLA 2010-08-09 08:16:36 EDT
Thanks Stéphane, this has been commited on HEAD and will be available in 3.1.0M1
Comment 4 Laurent Goubet CLA 2010-08-09 08:18:10 EDT
Forgot to fix
Comment 5 Stephane Begaudeau CLA 2010-11-17 16:29:44 EST
*** Bug 330474 has been marked as a duplicate of this bug. ***