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 starts
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.