calcium-lang
Version:
Calcium language interpreter
10 lines (9 loc) • 355 B
TypeScript
import { InternalType } from "../type";
export default class Slice {
private readonly list;
constructor(list: InternalType[] | string);
get(lower: InternalType, upper: InternalType): InternalType[] | string;
set(lower: InternalType, upper: InternalType, value: InternalType[]): void;
private calcStartAndCount;
private getRange;
}