I define A enum rule in my grammar this rule is below , EXT is optional but PNG is shows in the ecore by default.I want to dont show PNG(First index).How can I provide shows empty value for EXT.(EXT dont receive First value ) I load Screenshot about ecore property
File returns File:
'File' name=ID (
('location' '=' location=STRING )?
&('date' '=' date=STRING )?
&('ext' '=' ext = EXT )?
enum EXT :
PNG|TXT |JPG |JAVA | C | BAT |BMP |EXE |COM |DOC |PDF|DOCX|XLS|XLSX
Regarding this, I was wondering whether this is a specific design choice (for default values, specifically, but lacking documentation) or is just like this because the workaround is that easy?
Maybe someone with deeper insight could enlighten me.