[YANGTOOLS-205] Revisit ANTLR gramatic - cleanup and document it Created: 04/Jul/14 Updated: 10/Apr/22 Resolved: 09/Feb/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Tony Tkacik | Assignee: | Martin Ciglan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| Issue Links: |
|
||||||||||||
| Description |
|
YANG Gramatic and all ANTLR related utils needs to be revisited for correctness All assumptions between code and gramatic must be documented, so it |
| Comments |
| Comment by Tony Tkacik [ 13/Nov/14 ] |
|
Added as blocking issue for Topic: Decrease Technical Debt. |
| Comment by Martin Ciglan [ 20/Nov/14 ] |
|
ANTLR4 grammar audit in progress |
| Comment by Martin Ciglan [ 25/Nov/14 ] |
|
Based on review, these bugs were open: https://bugs.opendaylight.org/show_bug.cgi?id=2431 https://bugs.opendaylight.org/show_bug.cgi?id=2432 Moreover, arg-strings were identified in RFC6020, documented and will be provided. |
| Comment by Martin Ciglan [ 27/Nov/14 ] |
|
arg-strings not handled (validated) in grammar, but in static methods of parser util class BasicValidations, called from YangModelBasicValidationListener class. Review in progress, link between grammar and Java will be provided as comment in grammar file. |
| Comment by Martin Ciglan [ 16/Dec/14 ] |
|
not to forget, comments pushed: |
| Comment by Martin Ciglan [ 22/Jan/15 ] |