site/node_modules/speech-rule-engine/js/walker/levels.d.ts

13 lines
305 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
export declare class Levels<T> {
private level_;
push(level: T[]): void;
pop(): T[];
peek(): T[];
indexOf(element: T): number | null;
find(pred: (p1: T) => boolean): T | null;
get(index: number): T | null;
depth(): number;
clone(): Levels<T>;
toString(): string;
}