public class LocationProc extends Procedure0or1 implements HasSetter
compilerKey, compilerXKey, validateApplyKey, validateXApplyKeynameKey| Constructor and Description |
|---|
LocationProc(Location loc) |
LocationProc(Location loc,
Procedure converter) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply0() |
java.lang.Object |
apply1(java.lang.Object value) |
Location |
getLocation() |
Procedure |
getSetter() |
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() |
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getReturnType, getSourceLocation, isSideEffectFree, match0, match1, match2, match3, match4, matchN, 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 java.lang.Object 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()