| Summary: | [Serializer] Support serializing of optional keywords | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Christian Schneider <christian.schneider> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | moritz.eysholdt |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 333976 | ||
| Bug Blocks: | |||
bug 333976 fixes this. The new serializer has a hook for this. You'll find it in <MyLanguage>SyntacticSequencer when you have the SerializerFragment included in your MEW2-Workflow. (In reply to comment #2) > The new serializer has a hook for this. You'll find it in > <MyLanguage>SyntacticSequencer when you have the SerializerFragment included in > your MEW2-Workflow. Thanks for this hint, will have a look on it some time. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Build Identifier: 1.0.0.v201006170321 Dear Xtextlers! Please provide the opportunity to dump out optional keywords, for instance by means of something similar to 'UnassignedTextToken' like a 'UnassignedKeywordToken'. Rational: Consider the grammar fragment State returns synccharts::State: (type=StateType)? ('state')? (id=ID)? (label=EString) (outgoingTransitions+=Transition ("," outgoingTransitions+=Transition)* )? ';' and the instance state A; state B --> A; For simplification purposes we want to allow A; B --> A; , as well, but want to serialize the above (canonical) form. Reproducible: Always