@altostra/core
Version:
Core library for shared types and logic
15 lines (14 loc) • 592 B
TypeScript
import { MappedAlphabetBase } from "./MappedAlphabetBase";
/**
* An alphabet which is based on another alphabet, where some of the characters are replaced
* with other characters.
*
* A character is considered part of the created alphabet either if it is directly belongs to
* the base alphabet, or if it is mapped to a character which belongs the base alphabet.
*/
export declare class PartiallyMappedAlphabet extends MappedAlphabetBase {
has(char: string): boolean;
getAt(index: number): string;
indexOf(char: string): number;
[Symbol.iterator](): Iterator<string>;
}