Update code to utilize 2.x branch of grammar parser
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #1713430. --> Reported by: [solotandem](https://www.drupal.org/user/240748) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The grammar parser has a new 2.x branch that, among other things, supports namespace and use statements, and provides new whitespace preservation settings. The grammar structure changed for some items (e.g. the list of extends and implements items in interfaces and classes). To take advantage of this branch, the API parser code needs a tiny change.</p> <p>Note: for an automatic build, the make file in the grammar_parser_lib project has not been updated to pull the 2.x branch code from grammar parser. Also, there is not yet an official release of the 2.x branch of the grammar parser. Before doing so, please run some API tests to see if documentation elements match those produced with the 1.x code.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>See patch.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Test new branch with documentation builds.</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>None.</p> <h3 id="summary-api-changes">API changes</h3> <p>None.</p>
issue