org.codehaus.janino
Interface Java.Locatable
- All Known Subinterfaces:
- Java.BlockStatement, org.codehaus.janino.Java.NamedTypeDeclaration, Java.PackageMemberTypeDeclaration, Java.TypeBodyDeclaration, Java.TypeDeclaration
- All Known Implementing Classes:
- Java.AbstractTypeBodyDeclaration, Java.AbstractTypeDeclaration, Java.FieldDeclarator, Java.Initializer, Java.InterfaceDeclaration, org.codehaus.janino.Java.Located, Java.NamedClassDeclaration, Java.PackageMemberClassDeclaration, Java.PackageMemberInterfaceDeclaration, Java.Statement
- Enclosing interface:
- Java
- public static interface Java.Locatable
This interface is implemented by objects which are associated with a
location in the source code.
getLocation
public Location getLocation()
throwParseException
public void throwParseException(String message)
throws Parser.ParseException
- Throw a
Parser.ParseException
with the given message and this
object's location.
- Parameters:
message
- The message to report
- Throws:
Parser.ParseException