Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321584 - The parser should provide support for warnings, informations and documentation
Summary: The parser should provide support for warnings, informations and documentation
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
: 330474 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-03 08:24 EDT by Stephane Begaudeau CLA
Modified: 2011-10-12 05:20 EDT (History)
2 users (show)

See Also:


Attachments
Patch v1.0 (406.11 KB, patch)
2010-08-03 08:24 EDT, Stephane Begaudeau CLA
no flags Details | Diff
Patch v2.0 (1.13 MB, patch)
2010-08-05 07:57 EDT, Stephane Begaudeau CLA
mariot.chauvin: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***