Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Name resolution, binding occurrence?

Também chamado de: binding occurrence · name resolution

Definition 4.4 University Computer Science — Year 3 · Capítulo 4 — Abstract Syntax and Semantic Analysis

A binding occurrence of a name is the place where it is declared: a parameter, a var, a function or a global. Name resolution maps every other occurrence, every use, to the binding occurrence it refers to under the scope rules, or reports that there is none.

The tree of even with the resolution drawn as arrows from each use (red) to its declaration (blue). The arrows are not part of the tree: they are the entries of the side table uses. odd is declared after even, and is found because the first pass declared it.
The tree of even with the resolution drawn as arrows from each use (red) to its declaration (blue). The arrows are not part of the tree: they are the entries of the side table uses. odd is declared after even, and is found because the first pass declared it.
Ler no capítulo →