[php-src] PR #18504: Zend/zend_ast: Minor refactorings
| From: | Girgias | Date: | Mon, 05 May 2025 14:14:24 +0000 |
| Subject: | [php-src] PR #18504: Zend/zend_ast: Minor refactorings | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31630@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18504
Author: Girgias
I was thinking I could get more const qualifiers and change some of the
zend_ast_get_*() APIs to return a const pointer, as I was under the impression that the
moment the AST is built it shouldn't be modified any more.
But seems that's not totally the case. (or one would need to introduce mutable versions of
these APIs)