public interface IPartitionTokenScanner extends ITokenScanner
| Modifier and Type | Method and Description |
|---|---|
void |
setPartialRange(IDocument document,
int offset,
int length,
String contentType,
int partitionOffset)
Configures the scanner by providing access to the document range that should be scanned.
|
getTokenLength, getTokenOffset, nextToken, setRangevoid setPartialRange(IDocument document, int offset, int length, String contentType, int partitionOffset)
document - the document to scanoffset - the offset of the document range to scanlength - the length of the document range to scancontentType - the content type at the given offsetpartitionOffset - the offset at which the partition of the given offset startsGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.