public Location(Scribe scribe, int sourceRestart){ update(scribe, sourceRestart); }
this.kind = kind; this.name = NAMES[kind]; this.location = new Location(scribe, sourceRestart); this.mode = mode; this.tieBreakRule = tieBreakRule;
buffer .append("<location=") //$NON-NLS-1$ .append(this.location.toString()) .append(">\n"); //$NON-NLS-1$
this.kind = kind; this.name = NAMES[kind]; this.location = new Location(scribe, sourceRestart); this.mode = mode; this.tieBreakRule = tieBreakRule;
buffer .append("<location=") //$NON-NLS-1$ .append(this.location.toString()) .append(">\n"); //$NON-NLS-1$
public Location(Scribe scribe, int sourceRestart){ update(scribe, sourceRestart); }
this.kind = kind; this.name = NAMES[kind]; this.location = new Location(scribe, sourceRestart); this.mode = mode; this.tieBreakRule = tieBreakRule;
buffer .append("<location=") //$NON-NLS-1$ .append(this.location.toString()) .append(">\n"); //$NON-NLS-1$
public Location(Scribe scribe, int sourceRestart){ update(scribe, sourceRestart); }
public boolean checkChunkStart(int chunk, int startIndex, int sourceRestart) { if (this.chunkKind != chunk) { this.chunkKind = chunk; // when redoing same chunk alignment, must not reset if (startIndex != this.chunkStartIndex) { this.chunkStartIndex = startIndex; this.location.update(this.scribe, sourceRestart); reset(); } return true; } return false; }
public boolean checkChunkStart(int chunk, int startIndex, int sourceRestart) { if (this.chunkKind != chunk) { this.chunkKind = chunk; // when redoing same chunk alignment, must not reset if (startIndex != this.chunkStartIndex) { this.chunkStartIndex = startIndex; this.location.update(this.scribe, sourceRestart); reset(); } return true; } return false; }
public boolean checkChunkStart(int chunk, int startIndex, int sourceRestart) { if (this.chunkKind != chunk) { this.chunkKind = chunk; // when redoing same chunk alignment, must not reset if (startIndex != this.chunkStartIndex) { this.chunkStartIndex = startIndex; this.location.update(this.scribe, sourceRestart); reset(); } return true; } return false; }