thaw-grammar
Version:
Implementations of the grammars of several programming languages, including LISP, Scheme, Prolog, and the Lambda Calculus.
13 lines • 707 B
TypeScript
import { ISmalltalkEnvironmentFrame, ISmalltalkGlobalInfo, ISmalltalkValue, ISmalltalkVariable } from './interfaces/iexpression';
export declare function isSmalltalkVariable(obj: unknown): obj is ISmalltalkVariable;
export declare class SmalltalkVariable implements ISmalltalkVariable {
readonly line: number;
readonly column: number;
readonly typename: string;
readonly name: string;
constructor(name: string, line?: number, column?: number);
toString(): string;
equals(other: unknown): boolean;
evaluate(globalInfo: ISmalltalkGlobalInfo, localEnvironment: ISmalltalkEnvironmentFrame | undefined, options?: unknown): ISmalltalkValue;
}
//# sourceMappingURL=variable.d.ts.map