PackageScope
The scope of a package. This is different from a normal scope in that names of scope entries are kept in mangled form.
Attributes
- Graph
- Supertypes
Members list
Value members
Concrete methods
Ensure that all elements of this scope have been entered.
Overridden by SymbolLoaders.PackageLoader#PackageScope, where it
makes sure that all names with $
's have been added.
Ensure that all elements of this scope have been entered.
Overridden by SymbolLoaders.PackageLoader#PackageScope, where it
makes sure that all names with $
's have been added.
Attributes
- Definition Classes
Lookup a symbol entry matching given name.
create and enter a scope entry with given name and symbol
Attributes
- Definition Classes
Inherited methods
Check that all symbols in this scope are in their correct hashtable buckets.
Check that all symbols in this scope are in their correct hashtable buckets.
Attributes
- Definition Classes
- Inherited from:
- MutableScope
Clone scope, taking care not to force the denotations of any symbols in the scope.
Clone scope, taking care not to force the denotations of any symbols in the scope.
Attributes
- Inherited from:
- MutableScope
Does this scope contain a reference to sym
when looking up name
?
The denotation set of all the symbols with given name in this scope
Symbols occur in the result in reverse order relative to their occurrence
in this.toList
.
The denotation set of all the symbols with given name in this scope
Symbols occur in the result in reverse order relative to their occurrence
in this.toList
.
Attributes
- Inherited from:
- Scope
Attributes
- Inherited from:
- MutableScope
enter a symbol in this scope.
enter a symbol, asserting that no symbol with same name exists in scope
enter a symbol, asserting that no symbol with same name exists in scope
Attributes
- Inherited from:
- MutableScope
Tests whether a predicate holds for at least one Symbol of this Scope.
Tests whether a predicate holds for at least one Symbol of this Scope.
Attributes
- Inherited from:
- Scope
A fallback text representation, if the pattern matching in Printers does not have a case for this showable element
A fallback text representation, if the pattern matching in Printers does not have a case for this showable element
Attributes
- Inherited from:
- Showable
Selects all Symbols of this Scope which satisfy a predicate.
The scope that keeps only those symbols from this scope that match the given predicates. If all symbols match, returns the scope itself, otherwise a copy with the matching symbols.
The scope that keeps only those symbols from this scope that match the given predicates. If all symbols match, returns the scope itself, otherwise a copy with the matching symbols.
Attributes
- Inherited from:
- Scope
Finds the first Symbol of this Scope satisfying a predicate, if any.
Applies a function f to all Symbols of this Scope.
Attributes
- Definition Classes
- Inherited from:
- MutableScope
Return all symbols as an iterator in the order they were entered in this scope.
Return all symbols as an iterator in the order they were entered in this scope.
Attributes
- Inherited from:
- Scope
Lookup a symbol
Returns an iterator yielding every symbol with given name in this scope.
Returns an iterator yielding every symbol with given name in this scope.
Attributes
- Inherited from:
- Scope
lookup next entry with same name as this one
lookup next entry with same name as this one
Attributes
- Definition Classes
- Inherited from:
- MutableScope
Attributes
- Definition Classes
- Inherited from:
- MutableScope
Replace symbol prev
(if it exists in current scope) by symbol replacement
.
Replace symbol prev
(if it exists in current scope) by symbol replacement
.
Attributes
- Inherited from:
- MutableScope
The string representation of this showable element.
The string representation with each line after the first one indented by the given given margin (in spaces).
The string representation with each line after the first one indented by the given given margin (in spaces).
Attributes
- Inherited from:
- Showable
The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.
The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.
Attributes
- Inherited from:
- Showable
The number of symbols in this scope (including inherited ones from outer scopes).
The number of symbols in this scope (including inherited ones from outer scopes).
Attributes
- Definition Classes
- Inherited from:
- MutableScope
Vanilla scope - symbols are stored in declaration order.
Returns all symbols as a list in the order they were entered in this scope. Does not include the elements of inherited scopes.
Returns all symbols as a list in the order they were entered in this scope. Does not include the elements of inherited scopes.
Attributes
- Definition Classes
- Inherited from:
- MutableScope
The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.
The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.
Attributes
- Inherited from:
- Scope
remove symbol from this scope if it is present under the given name
remove symbol from this scope if it is present under the given name
Attributes
- Inherited from:
- MutableScope
remove symbol from this scope if it is present
Remove entry from this scope (which is required to be present)
Remove entry from this scope (which is required to be present)
Attributes
- Inherited from:
- MutableScope
Use specified synthesize for this scope
Inherited fields
The number of scopes enclosing this scope.