org.eclipse.jdt.internal.formatter
Class Location
java.lang.Object
org.eclipse.jdt.internal.formatter.Location
public class Location
- extends java.lang.Object
A location maintains positional information both in original source and in the output source.
It remembers source offsets, line/column and indentation level.
- Since:
- 2.1
Method Summary |
void |
update(Scribe scribe,
int sourceRestart)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputOffset
public int inputOffset
outputLine
public int outputLine
outputColumn
public int outputColumn
outputIndentationLevel
public int outputIndentationLevel
needSpace
public boolean needSpace
pendingSpace
public boolean pendingSpace
nlsTagCounter
public int nlsTagCounter
lastLocalDeclarationSourceStart
public int lastLocalDeclarationSourceStart
numberOfIndentations
public int numberOfIndentations
lastNumberOfNewLines
public int lastNumberOfNewLines
Location
public Location(Scribe scribe,
int sourceRestart)
update
public void update(Scribe scribe,
int sourceRestart)