public abstract static class Java.Located extends java.lang.Object implements Java.Locatable
| Modifier and Type | Field and Description |
|---|---|
static Java.Located |
NOWHERE |
| Modifier | Constructor and Description |
|---|---|
protected |
Located(Location location) |
| Modifier and Type | Method and Description |
|---|---|
Location |
getLocation() |
void |
throwCompileException(java.lang.String message)
Throw a
CompileException with the given message and this
object's location. |
public static final Java.Located NOWHERE
protected Located(Location location)
public Location getLocation()
getLocation in interface Java.Locatablepublic void throwCompileException(java.lang.String message)
throws CompileException
Java.LocatableCompileException with the given message and this
object's location.throwCompileException in interface Java.Locatablemessage - The message to reportCompileException