edu.rice.cs.drjava.model.compiler
Class CompilerErrorModel.StartAndEndIndex

java.lang.Object
  extended by edu.rice.cs.drjava.model.compiler.CompilerErrorModel.StartAndEndIndex
Enclosing class:
CompilerErrorModel

private static class CompilerErrorModel.StartAndEndIndex
extends java.lang.Object

This class is used only to track where the errors with positions for a file begin and end. The beginning index is inclusive, the ending index is exclusive.


Field Summary
private  int endPos
           
private  int startPos
           
 
Constructor Summary
CompilerErrorModel.StartAndEndIndex(int startPos, int endPos)
           
 
Method Summary
 int getEndPos()
           
 int getStartPos()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startPos

private int startPos

endPos

private int endPos
Constructor Detail

CompilerErrorModel.StartAndEndIndex

public CompilerErrorModel.StartAndEndIndex(int startPos,
                                           int endPos)
Method Detail

getStartPos

public int getStartPos()

getEndPos

public int getEndPos()