Community
Participate
Working Groups
Hi, In the file eclipse\plugins\org.eclipse.m2m.qvt.oml\org\eclipse\m2m\internal\qvt\oml\ast\parser\ValidationMessages.properties, we came across the following sentence: Name of the constructor is necessarily the name of the context type This sentence is a little hard to understand. Could you pls reword it for a better understanding? Thanks a lot in advance!
In reply to comment #1 Sentence "Name of the constructor is necessarily the name of the context type" was copied from the QVT specification (section 8.2.1.13 "Constructor", Notation part). It means that name of the constructor must coincide with name of context type. For example, for the context type named MyClass name of the constructor should also be MyClass. In QVT script that's notated like: MyClass::MyClass()