gnu.mapping
Class LocationProc
java.lang.Object
   gnu.mapping.Procedure
gnu.mapping.Procedure
       gnu.mapping.Procedure0or1
gnu.mapping.Procedure0or1
           gnu.mapping.LocationProc
gnu.mapping.LocationProc
- All Implemented Interfaces: 
- HasSetter, Named
- 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.
 
 
 
| Methods inherited from class gnu.mapping.Procedure | 
| apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
LocationProc
public LocationProc(Location loc)
LocationProc
public LocationProc(Location loc,
                    Procedure converter)
makeNamed
public static LocationProc makeNamed(Symbol name,
                                     Location loc)
- 
 
- 
 
pushConverter
public void pushConverter(Procedure converter)
- 
 
- 
 
apply0
public java.lang.Object apply0()
                        throws java.lang.Throwable
- 
- Specified by:
- apply0in class- Procedure0or1
 
- 
- Throws:
- java.lang.Throwable
 
apply1
public java.lang.Object apply1(java.lang.Object value)
                        throws java.lang.Throwable
- 
- Specified by:
- apply1in class- Procedure0or1
 
- 
- Throws:
- java.lang.Throwable
 
set0
public void set0(java.lang.Object value)
          throws java.lang.Throwable
- Description copied from class: Procedure
- If HasSetter, the Procedure is called in the LHS of an assignment.
 
- 
- Overrides:
- set0in class- Procedure
 
- 
- Throws:
- java.lang.Throwable
 
getSetter
public Procedure getSetter()
- 
- Specified by:
- getSetterin interface- HasSetter
- Overrides:
- getSetterin class- Procedure
 
- 
 
getLocation
public final Location getLocation()
- 
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- Procedure
 
-