| Summary: | [documentation] list of issues found while going through the 1.0.0 doc | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Alexander Nittka <alex> |
| Component: | Xtext | Assignee: | Jan Koehnlein <jan> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jan, sebastian.zarnekow, tmf.xtext-inbox |
| Version: | 1.0.0 | Flags: | sebastian.zarnekow:
helios+
|
| Target Milestone: | SR1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alexander Nittka
Note that the given terminal rule for multi line comments using negation does not work! '/*' (!'*' | '*'!'/')+ '*/' /*comment**/, /*comment***/, ... are counter example that hopefully illustrates that using the negation is everything but straight forward. Thanks a lot for your effort. I fixed most of the issues. Some remain > -2.2 Processing Xtext Models: add information and examples for IUnitOfWork, > EObjectHandle (how to get the EObject from it) etc. TBD. I am not sure if this is the right place to put it. Most of our hooks are already called inside a unit of work, so the user initially doesn't care. I am trying to find a better location. > -3.2.3 Rules list of phases: add "build index of visible elements for linking"? This is not part of the parsing process, but done asynchronously by the builder. I'd rather not specify it here. > -3.2.3.1 Terminal Rules, Return Types last paragraph: possibly also point to > the default implementation Section on value converters is referenced and contains the link, No need to put it here IMHO. > -5.7. Value Converter: there seems to be an implicit value converter also for > data type rules, add a corresponding note to the documentation (which class is > responsible) > --Is there a difference between value converters for terminal rules/datatype > rules? I could not find where the docs restrict value converters to terminal rules. The behavior is the same for terminal rules as for datatype rules. The default behavior is already documented, too. > -general: there is a paragraph on testing validation rules, similar hints for > testing lexing/parsing, scoping, etc would be great. Maybe a section on testing > in general would be useful (hints to existing code, general patterns for the > setup etc.). I would find sample code for the lexing/parsing particularly > important as many questions in the forum deal with "I get error 'expecting > input...'", "how would my terminal rule have to look like to do such and such". TBD. Added a section on live models. Closing bug which were set to RESOLVED before Eclipse Neon.0. |