gnu.mapping
Interface EnvironmentKey

All Known Implementing Classes:
KeyPair, Keyword, NamedLocation, PlainLocation, SharedLocation, Symbol, XName

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 EnvironmentKeys to Locations.


Field Summary
static java.lang.Object FUNCTION
          Conventional value used as a property key for function bindings.
 
Method Summary
 java.lang.Object getKeyProperty()
           
 Symbol getKeySymbol()
           
 boolean matches(EnvironmentKey key)
           
 boolean matches(Symbol symbol, java.lang.Object property)
           
 

Field Detail

FUNCTION

static final java.lang.Object FUNCTION
Conventional value used as a property key for function bindings.

Method Detail

getKeySymbol

Symbol getKeySymbol()

getKeyProperty

java.lang.Object getKeyProperty()

matches

boolean matches(EnvironmentKey key)

matches

boolean matches(Symbol symbol,
                java.lang.Object property)