|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elib.slot.SlotDefiner
Untamed: The instance, bound to the name "__defineSlot" in the initial environment, is a SlotGuard that, when asked to make a slot holding a specimen, simply returns the specimen coerced to the type 'Slot'.
This is used in the expansion of "&x" when used as a defining occurrence of "x". "&x" expands to "x :__defineSlot".
Field Summary | |
static SlotDefiner |
THE_ONE
Enabled: |
Constructor Summary | |
private |
SlotDefiner()
|
Method Summary | |
String |
getName()
Enabled: "__defineSlot" |
Slot |
makeSlot(Object specimen,
OneArgFunc optEjector)
Enabled: @return the specimen |
String |
toString()
Suppressed: Same as getName() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final SlotDefiner THE_ONE
Constructor Detail |
private SlotDefiner()
Method Detail |
public Slot makeSlot(Object specimen, OneArgFunc optEjector)
makeSlot
in interface SlotGuard
public String getName()
getName
in interface SlotGuard
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |