thaw-grammar
Version:
Implementations of the grammars of several programming languages, including LISP, Scheme, Prolog, and the Lambda Calculus.
17 lines • 1.01 kB
TypeScript
import { Name } from 'thaw-interpreter-core';
import { IEnvironmentFrame } from '../../../common/domain-object-model/environment-frame';
import { IGlobalInfo } from '../../../common/domain-object-model/iglobal-info';
import { ICLUFunctionDefinition, ICluster, ICLUValue, ICLUVariable } from './interfaces/ivalue';
import { CLUFunctionDefinitionBase } from './function-definition-base';
export declare class Cluster implements ICluster {
readonly clusterName: Name;
readonly exportSet: string[];
readonly clRep: ICLUVariable[];
private funDefList;
readonly typename: string;
readonly exportedDict: Map<string, ICLUFunctionDefinition>;
readonly nonExportedDict: Map<string, ICLUFunctionDefinition>;
constructor(clusterName: Name, exportSet: string[], clRep: ICLUVariable[], funDefList: CLUFunctionDefinitionBase[]);
evaluate(globalInfo: IGlobalInfo<ICLUValue>, localEnvironment?: IEnvironmentFrame<ICLUValue>, options?: unknown): ICLUValue;
}
//# sourceMappingURL=cluster.d.ts.map