Skip to content

[php] Pre-Parse and Summarize Symbols #5467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DavidBakerEffendi
Copy link
Contributor

To resolve symbols and types that are brought into the current context via use functions, the approach of pre-parsing the AST for high-level symbols is implemented. A similar approach is used in Ruby, and this follows on that.

As this "summary" object is pretty similar to that in Ruby, we may want to unify these at some point with a "default" implementation of the summary objects to reduce the number of classes.

Glued various components together to create a pre-parse of all PHP internal ASTs for a summary of symbol info.
@DavidBakerEffendi DavidBakerEffendi marked this pull request as ready for review May 5, 2025 11:09
@AndreiDreyer AndreiDreyer requested review from ml86 and maltek May 6, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant