Returns a new mutable scope with the same content as this one.
Lookup a symbol entry matching given name.
Lookup next entry with same name as this one
The number of outer scopes from which symbols are inherited
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
.
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
The scope that keeps only those symbols from this scope that match the given predicates.
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.
Is the scope empty?
Is the scope empty?
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.
Lookup a symbol
Returns an iterator yielding every symbol with given name in this scope.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
The string representation of this showable element.
The string representation of this showable element.
The summarized string representation of this showable element.
The summarized string representation of this showable element. Recursion depth is limited to some smallish value. Default is Config.summarizeDepth.
The text representation of this showable element.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Throws an UnsupportedOperationException
with the given method name.
Throws an UnsupportedOperationException
with the given method name.
A scope contains a set of symbols. It can be an extension of some outer scope, from which it inherits all symbols. This class does not have any methods to add symbols to a scope or to delete them. These methods are provided by subclass MutableScope.