Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Name resolution, binding occurrence?

Ook bekend als: binding occurrence · name resolution

Definition 4.4 University Computer Science — Year 3 · Hoofdstuk 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.
Lees in het hoofdstuk →