Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 708 Bytes

name-resolution.md

File metadata and controls

15 lines (13 loc) · 708 Bytes

Name resolution

Elements, such as some item definitions or let bindings, declare a name to refer to that element. Name resolution is the process of tying paths and other identifiers to the declarations of those elements. Names are segregated into different namespaces, allowing elements in different namespaces to share the same name without conflict. Each name is valid within a scope, or a region of source text where that name may be referenced. Access to certain names may be restricted based on their visibility.