thaw-grammar
Version:
Implementations of the grammars of several programming languages, including LISP, Scheme, Prolog, and the Lambda Calculus.
12 lines • 980 B
TypeScript
import { IEnvironmentFrame } from '../../../common/domain-object-model/environment-frame';
import { IExpression } from '../../../common/domain-object-model/iexpression';
import { IVariable } from '../../../common/domain-object-model/variable';
import { ISExpression } from '../../lisp/domain-object-model/isexpression';
import { Closure } from '../../scheme/domain-object-model/closure';
import { SASLGlobalInfo } from './global-info';
export declare class SASLClosure extends Closure {
constructor(argList: IVariable<ISExpression>[], body: IExpression<ISExpression>, closureEnvironment: IEnvironmentFrame<ISExpression>, line?: number, column?: number);
protected callHelper_EvaluateArguments(args: IExpression<ISExpression>[], localEnvironment: IEnvironmentFrame<ISExpression>, globalInfo: SASLGlobalInfo): ISExpression[];
protected callHelper_PrepareReturnValue(result: ISExpression, globalInfo: SASLGlobalInfo): ISExpression;
}
//# sourceMappingURL=closure.d.ts.map