Issue 12571: QVT 1.0 9.* Missing query concrete syntax (qvt-rtf) Source: Model Driven Solutions (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Uncategorized Issue Severity: Summary: There is no support for queries in the QVT Core concrete syntax. Suggest: re-use the concrete syntax of QVT Relation, except that the query is defined at global scope and so must be qualified by the name of a transformation defined in the same source unit. example: query txName::getStringSize (someString:String): Integer { someString -> size() } Resolution: Simple change. Names are left vague pending resolution of Issue 10935. Revised Text: In 9.18 Concrete Syntax add (NB TopLevel introduced by Issue 10942) TopLevel ::= (Transformation | Mapping | Query)* Query ::= 'query' QueryName '(' [ ParamDeclaration (',' ParamDeclaration)*] ')' ':' TypeDeclaration (';' | '{' QueryOCLExpr '}') ParamDeclaration ::= ParameterName ':' TypeDeclaration Actions taken: July 11, 2008: received issue July 15, 2014: closed issue Discussion: End of Annotations:===== m: "Ed Willink" To: Subject: QVT 1.0 9.* Missing query concrete syntax Date: Fri, 11 Jul 2008 08:52:28 +0100 X-Mailer: Microsoft Outlook, Build 10.0.6838 Thread-Index: AcjjKxDCxIiJPBkSTmmKV2DlLF3keg== X-Plusnet-Relay: c7b32707807b2e48a983bc71e7742f14 There is no support for queries in the QVT Core concrete syntax. Suggest: re-use the concrete syntax of QVT Relation, except that the query is defined at global scope and so must be qualified by the name of a transformation defined in the same source unit. example: query txName::getStringSize (someString:String): Integer { someString -> size() }