gnu.mapping

Class LocationProc

public class LocationProc extends Procedure0or1 implements HasSetter

A Procedure that evaluates to the value of a Location. Calling it with one argument sets the value, for compatibility with the "parameter objects" of SRFI-39.
Constructor Summary
LocationProc(Location loc)
LocationProc(Location loc, Procedure converter)
Method Summary
Objectapply0()
Objectapply1(Object value)
LocationgetLocation()
ProceduregetSetter()
static LocationProcmakeNamed(Symbol name, Location loc)
voidpushConverter(Procedure converter)
voidset0(Object value)
StringtoString()

Constructor Detail

LocationProc

public LocationProc(Location loc)

LocationProc

public LocationProc(Location loc, Procedure converter)

Method Detail

apply0

public Object apply0()

apply1

public Object apply1(Object value)

getLocation

public final Location getLocation()

getSetter

public Procedure getSetter()

makeNamed

public static LocationProc makeNamed(Symbol name, Location loc)

pushConverter

public void pushConverter(Procedure converter)

set0

public void set0(Object value)

toString

public String toString()