frysk.scopes
Class SourceLocation

java.lang.Object
  extended by frysk.scopes.SourceLocation

public class SourceLocation
extends Object

The source-code line information.


Field Summary
private  int column
           
private  File file
           
private  int line
           
static SourceLocation UNKNOWN
          The LINE is unknown; this is used instead of "null" to denote missing line information.
 
Constructor Summary
protected SourceLocation(File file, int line, int column)
           
 
Method Summary
 int getColumn()
           
 File getFile()
           
 int getLine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final SourceLocation UNKNOWN
The LINE is unknown; this is used instead of "null" to denote missing line information.


file

private final File file

line

private final int line

column

private final int column
Constructor Detail

SourceLocation

protected SourceLocation(File file,
                         int line,
                         int column)
Method Detail

getFile

public File getFile()

getLine

public int getLine()

getColumn

public int getColumn()