Lines Matching defs:scope
437 /* Analyze raw symbol information to determine scope of each name.
447 in an enclosing function scope. The implicit global is either a global
453 The symbol table requires two passes to determine the scope of each name.
474 symbols: dict mapping from symbol names to flag values (including offset scope values)
475 scopes: dict mapping from symbol names to scope values (no offset)
476 local: set of all symbol names local to the current scope
477 bound: set of all symbol names local to a containing function scope
493 /* Decide on scope of name, given flags.
574 That's safe because no name can be free and local in the same scope.
588 long scope;
590 scope = PyLong_AS_LONG(v);
591 if (scope != LOCAL)
622 /* Enter the final scope information into the ste_symbols dict.
634 /* Update scope information for all symbols in this scope */
636 long scope, flags;
641 scope = PyLong_AS_LONG(v_scope);
642 flags |= (scope << SCOPE_OFFSET);
667 /* Handle symbol that already exists in this scope */
671 or global in the class scope.
686 /* It's a cell, or already free in this scope */
1487 /* Iterate over the stack in reverse and add to the nearest adequate scope */
1491 /* If we find a comprehension scope, check for a target
1565 /* Inside a comprehension body, so find the right target scope */
2015 /* Outermost iterator is evaluated in current scope */
2019 /* Create comprehension scope for the rest */