Skip to content
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

Semantic: link scopes -> symbols #200

Open
DonIsaac opened this issue Jan 16, 2025 · 0 comments
Open

Semantic: link scopes -> symbols #200

DonIsaac opened this issue Jan 16, 2025 · 0 comments
Labels
A-semantic Area - semantic analysis

Comments

@DonIsaac
Copy link
Owner

Sometimes, lint rules want to walk up the scope tree and find a function, struct definition, etc.

Right now, when a symbol creates a scope, we record that information in Symbol. We should record the same.

We should also probably link scopes -> ast nodes.

@DonIsaac DonIsaac added the A-semantic Area - semantic analysis label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-semantic Area - semantic analysis
Projects
None yet
Development

No branches or pull requests

1 participant