UNPKG

thaw-grammar

Version:

Implementations of the grammars of several programming languages, including LISP, Scheme, Prolog, and the Lambda Calculus.

12 lines 659 B
import { IEnvironmentFrame } from '../../../common/domain-object-model/environment-frame'; import { IExpression } from '../../../common/domain-object-model/iexpression'; import { IGlobalInfo } from '../../../common/domain-object-model/iglobal-info'; export declare class IntegerLiteral implements IExpression<number> { readonly line: number; readonly column: number; readonly value: number; constructor(value: unknown, line?: number, column?: number); toString(): string; evaluate(globalInfo: IGlobalInfo<number>, localEnvironment?: IEnvironmentFrame<number>, options?: unknown): number; } //# sourceMappingURL=integer-literal.d.ts.map