Returns a new scope with the same content as this one.
enter a symbol
enter a scope entry
enter a scope entry
...
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
...
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
lookup a symbol
...
...
Returns an iterator yielding every symbol with given name in this scope.
lookup a symbol entry matching given name.
lookup a symbol entry matching given name.
from Martin: I believe this is a hotspot or will be one in future versions of the type system. I have reverted the previous change to use iterators as too costly.
lookup next entry with same name as this one
lookup next entry with same name as this one
from Martin: I believe this is a hotspot or will be one in future versions of the type system. I have reverted the previous change to use iterators as too costly.
Return the nesting level of this scope, i.
Return the nesting level of this scope, i.e. the number of times this scope was nested in another
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
the number of entries in this scope
the number of entries in this scope
Return all symbols as a list in the order they were entered in this scope.
Return all symbols as a list in the order they were entered in this scope.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
remove symbol
remove entry
remove entry
...
(Since version 2.8.0) use iterator' instead
(Since version 2.8.0) use head' instead
(Since version 2.8.0) use headOption' instead
(Since version 2.8.0) use view' instead