Java.LocatableJava.AbstractTypeBodyDeclaration, Java.ArrayInitializer, Java.Atom, Java.CatchClause, Java.CompilationUnit.ImportDeclaration, Java.FunctionDeclarator.FormalParameter, Java.FunctionDeclarator.FormalParameters, Java.PackageDeclaration, Java.Statement, Java.SwitchStatement.SwitchBlockStatementGroup, Java.VariableDeclaratorpublic abstract static class Java.Located extends Object implements Java.Locatable
Java.Locatable.| Modifier and Type | Field | Description |
|---|---|---|
static Java.Located |
NOWHERE |
Indication of 'no' or 'unknown' location.
|
| Modifier | Constructor | Description |
|---|---|---|
protected |
Located(Location location) |
| Modifier and Type | Method | 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.Locatablepublic void throwCompileException(String message) throws CompileException
Java.LocatableCompileException with the given message and this
object's location.throwCompileException in interface Java.Locatablemessage - The message to reportCompileExceptionCopyright © 2001–2019. All rights reserved.