public class LocationProc<T> extends Procedure0or1 implements HasSetter
applyToObjectapplyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKeynameKey| 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, numArgsapplyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set1, setN, setSetter, setSourceLocationgetName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbolpublic 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 Procedure0or1java.lang.Throwablepublic java.lang.Object apply1(java.lang.Object value)
throws java.lang.Throwable
apply1 in class Procedure0or1java.lang.Throwablepublic void set0(java.lang.Object value)
throws java.lang.Throwable
Procedurepublic Procedure getSetter()
public final Location getLocation()