Home | History | Annotate | Download | only in program

Lines Matching refs:scope

32      * The linked list of symbols with the same name is ordered by scope
39 * Link to the next symbol in the table with the same scope
41 * The linked list of symbols with the same scope is unordered. Symbols
57 * exist in the same name space at the same scope level.
61 /** Scope depth where this symbol was defined. */
86 * Element of the scope stack.
89 /** Link to next (inner) scope level. */
92 /** Linked list of symbols with the same scope. */
104 /** Top of scope stack. */
110 /** Current scope depth. */
137 struct scope_level *scope;
139 for (scope = table->current_scope; scope != NULL; scope = scope->next) {
142 for (sym = scope->symbols
161 struct scope_level *const scope = table->current_scope;
162 struct symbol *sym = scope->symbols;
164 table->current_scope = scope->next;
167 free(scope);
189 struct scope_level *const scope = calloc(1, sizeof(*scope));
191 scope->next = table->current_scope;
192 table->current_scope = scope;
273 * Determine the scope "distance" of a symbol from the current scope
276 * A non-negative number for the number of scopes between the current scope
277 * and the scope where a symbol was defined. A value of zero means the current
278 * scope. A negative number if the symbol does not exist.
350 /* If the symbol already exists in this namespace at this scope, it cannot
407 /* If the symbol already exists in this namespace at this scope, it cannot
419 /* Find the top-level scope */
434 /* Since next_with_same_name is ordered by scope, we need to append the