gnu.mapping
Interface EnvironmentKey
- All Known Implementing Classes:
- KeyPair, Keyword, NamedLocation, PlainLocation, SharedLocation, Symbol
public interface EnvironmentKey
A pair of a name (a Symbol
) and a property (any Object
).
A Symbol
is an EnvironmentKey
with
a null property component.
An Environment
is a map from EnvironmentKey
s
to Location
s.
Field Summary |
static java.lang.Object |
FUNCTION
Conventional value used as a property key for function bindings. |
FUNCTION
static final java.lang.Object FUNCTION
- Conventional value used as a property key for function bindings.
getKeySymbol
Symbol getKeySymbol()
getKeyProperty
java.lang.Object getKeyProperty()
matches
boolean matches(EnvironmentKey key)
matches
boolean matches(Symbol symbol,
java.lang.Object property)