16 lines
519 B
TypeScript
16 lines
519 B
TypeScript
|
import { CodePointReader } from './interfaces/code-point-reader';
|
||
|
export declare class Reader implements CodePointReader {
|
||
|
cursor: number;
|
||
|
source: string;
|
||
|
codePointSource: Array<number>;
|
||
|
representationIndices: Array<number>;
|
||
|
length: number;
|
||
|
representationStart: number;
|
||
|
representationEnd: number;
|
||
|
constructor(source: string);
|
||
|
advanceCodePoint(n?: number): void;
|
||
|
readCodePoint(n?: number): number | false;
|
||
|
unreadCodePoint(n?: number): void;
|
||
|
resetRepresentation(): void;
|
||
|
}
|