Scope.CompoundScope, Scope.DelegatedScope, Scope.Entry, Scope.ErrorScope, Scope.ImportScope, Scope.ScopeListener, Scope.StarImportScope
elems, emptyScope, next, owner
Constructor and Description |
---|
ErrorScope(Symbol errSymbol) |
Modifier and Type | Method and Description |
---|---|
Scope |
dup()
Construct a fresh scope within this scope, with same owner,
which shares its table with the outer scope.
|
Scope |
dupUnshared()
Construct a fresh scope within this scope, with same owner,
with a new hash table, whose contents initially are those of
the table of its outer scope.
|
Scope.Entry |
lookup(Name name)
Return the entry associated with given name, starting in
this scope and proceeding outwards.
|
addScopeListener, anyMatch, dup, enter, enter, enter, enterIfAbsent, getElements, getElements, getElementsByName, getElementsByName, includes, leave, lookup, remove, toString
public ErrorScope(Symbol errSymbol)
public Scope dup()
Scope
public Scope dupUnshared()
Scope
dupUnshared
in class Scope
public Scope.Entry lookup(Name name)
Scope
Copyright © 2017 earcam. All rights reserved.