gnu.mapping

Interface EnvironmentKey

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

Field Summary

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

Method Summary

Object
getKeyProperty()
Symbol
getKeySymbol()
boolean
matches(EnvironmentKey key)
boolean
matches(Symbol symbol, Object property)

Field Details

FUNCTION

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

Method Details

getKeyProperty

public Object getKeyProperty()

getKeySymbol

public Symbol getKeySymbol()

matches

public boolean matches(EnvironmentKey key)

matches

public boolean matches(Symbol symbol,
                       Object property)