| [Xtext] Default values for optional assignments? [message #468198] |
Tue, 04 August 2009 09:44  |
Hauke Fuhrmann Messages: 319 Registered: July 2009 |
Senior Member |
|
|
Dear xtext folks,
is there a way to specify default values for attribute assignments that
are optional?
Like in:
Node:
(attr=INT)? name=ID
If one omits the INT token, then attr will be initialized with 0 as I
understand. Is there a way to set this default value to some other value?
Cheers,
HAuke
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.11222 seconds