thaw-grammar
Version:
Implementations of the grammars of several programming languages, including LISP, Scheme, Prolog, and the Lambda Calculus.
11 lines • 524 B
TypeScript
import { IEnvironmentFrame } from './environment-frame';
import { IExpression } from './iexpression';
import { IGlobalInfo } from './iglobal-info';
export declare class WhileUsage<T> implements IExpression<T> {
readonly condition: IExpression<T>;
readonly body: IExpression<T>;
constructor(condition: IExpression<T>, body: IExpression<T>);
toString(): string;
evaluate(globalInfo: IGlobalInfo<T>, localEnvironment?: IEnvironmentFrame<T>, options?: unknown): T;
}
//# sourceMappingURL=while-usage.d.ts.map