UNPKG

cnum

Version:

Represent rational numbers in comfortably numeric way.

13 lines (12 loc) 310 B
import { Token } from './Token'; interface Identifiers<T> { [Key: string]: T; } export declare class Parser { tokens: Generator<Token>; identifiers: Identifiers<string>; constructor(tokens: Generator<Token>); evaluate(): bigint; toString(): string; } export default Parser;