Scope Analysis
← Back to Semantic Analysis
Determining the visibility and lifetime of names within a program. Scope analysis tracks block scopes, function scopes, module scopes, and closure captures, ensuring that variables are accessible only where they should be.