Bug 493522 - [qvtr] Restrictive TemplateCS syntax
Summary: [qvtr] Restrictive TemplateCS syntax
Status: NEW
Alias: None
Product: QVTd
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-12 08:52 EDT by Ed Willink CLA
Modified: 2016-05-12 08:52 EDT (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 2016-05-12 08:52:22 EDT
It should be possible to define a PropertyTemplateCS as:

    name = theName:String

and so auto-declare theName for reference by another domain.

Unfortunately the {} template-guard inhibits this, requiring

    name = theName:String{}

to avoid ambiguity.

? work harder on the grammar exposition - dubious

? change the grammar ? a where keyword or | operator