public class LocationProc<T> extends Procedure0or1 implements HasSetter
applyToObject applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey nameKey | Constructor and Description |
|---|
LocationProc (Location loc) |
LocationProc (Location loc,
Procedure converter) |
| Modifier and Type | Method and Description |
|---|---|
T |
apply0 () |
java.lang.Object |
apply1 (java.lang.Object value) |
Location |
getLocation () |
Procedure |
getSetter () |
T |
getValue () |
static LocationProc |
makeNamed (Symbol name,
Location loc) |
void |
pushConverter (Procedure converter) |
void |
set0 (java.lang.Object value)
If HasSetter, the Procedure is called in the LHS of an assignment.
|
java.lang.String |
toString () |
apply2, apply3, apply4, applyN, applyToObject, numArgs applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set1, setN, setSetter, setSourceLocation getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic LocationProc(Location loc)
public static LocationProc makeNamed(Symbol name, Location loc)
public void pushConverter(Procedure converter)
public final T getValue() throws java.lang.Throwable
java.lang.Throwablepublic T apply0() throws java.lang.Throwable
apply0 in class Procedure0or1 java.lang.Throwablepublic java.lang.Object apply1(java.lang.Object value) throws java.lang.Throwable
apply1 in class Procedure0or1 java.lang.Throwablepublic void set0(java.lang.Object value) throws java.lang.Throwable
Procedure public Procedure getSetter()
public final Location getLocation()