public abstract static class Java.Located extends Object implements Java.Locatable
Java.Locatable
.Modifier and Type | Field and Description |
---|---|
static Java.Located |
NOWHERE
Indication of 'no' or 'unknown' location.
|
Modifier | Constructor and Description |
---|---|
protected |
Located(Location location) |
Modifier and Type | Method and Description |
---|---|
Location |
getLocation() |
void |
throwCompileException(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.Locatable
public void throwCompileException(String message) throws CompileException
Java.Locatable
CompileException
with the given message and this
object's location.throwCompileException
in interface Java.Locatable
message
- The message to reportCompileException
Copyright © 2001–2016. All rights reserved.