Jörn Guy Süß CLA 2022-12-14 00:48:24 EST
The grammar of Emfatic defines an EEnumliteral like this:
sequence enumLiteral : leadingAnnotations=annotations name=ID (EQUALS val=INT_LITERAL)? trailingAnnotations=annotations SEMI ;
But Ecore defines it like this:
https://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EEnumLiteral.html
with an extra attribute literal, defined as
This is the literal, string value that represents this enumerator value. This is used in persisting instances of enumerated type. If set to null, it will return the name, instead.
Checking the source code of Emfatic, there is no call to the setLiteral() method anywhere. This, together with the grammar, seems to indicate that Emfatic does not offer this feature.
Could this please be added?
Jörn Guy Süß CLA 2022-12-14 00:48:24 EST
The grammar of Emfatic defines an EEnumliteral like this:
But Ecore defines it like this:
https://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/org/eclipse/emf/ecore/EEnumLiteral.html
with an extra attribute
literal, defined asChecking the source code of Emfatic, there is no call to the
setLiteral()method anywhere. This, together with the grammar, seems to indicate that Emfatic does not offer this feature.Could this please be added?