Returns a new scope with the same content as this one.
Returns a new scope with the same content as this one.
enter a symbol
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
Returns an iterator yielding every symbol with given name in this scope.
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.
remove symbol
remove symbol
remove entry
The error scope.