binder

The compiler phase that links every name in the code to the declaration it refers to and records which scope it lives in.

In more detail

After parsing, the binder creates symbols, the compiler's record of each declared name, and connects each use to its symbol. This lets the checker know that two mentions of user are the same variable. It also merges declarations that share a name, such as two interfaces.

Related terms

Taught in

References