net.janino
Interface Java.Locatable

All Known Subinterfaces:
Java.BlockStatement
All Known Implementing Classes:
Java.ClassOrInterfaceDeclaration, net.janino.Java.Located
Enclosing class:
Java

public static interface Java.Locatable

This interface is implemented by objects which are associated with a location in the source code.


Method Summary
 Scanner.Location getLocation()
           
 void throwCompileException(java.lang.String message)
           
 void throwParseException(java.lang.String message)
           
 

Method Detail

getLocation

public Scanner.Location getLocation()

throwParseException

public void throwParseException(java.lang.String message)
                         throws Parser.ParseException

throwCompileException

public void throwCompileException(java.lang.String message)
                           throws Java.CompileException