Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Name resolution, binding occurrence?

También llamado: 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.
Leer en el capítulo →