UNPKG

thaw-grammar

Version:

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

22 lines 950 B
import { IParser, ITokenizer } from 'thaw-interpreter-types'; import { GlobalInfoBase } from '../../../common/domain-object-model/global-info-base'; import { ICLUGlobalInfo, ICluster, ICLUValue } from './interfaces/ivalue'; export declare function isCLUGlobalInfo(obj: unknown): obj is ICLUGlobalInfo; export declare class CLUGlobalInfo extends GlobalInfoBase<ICLUValue> implements ICLUGlobalInfo { readonly typename: string; private readonly falseVal; private readonly trueVal; readonly clusterDict: Map<string, ICluster>; constructor(options?: { parser?: IParser; tokenizer?: ITokenizer; }); initialize(): void; get falseValue(): ICLUValue; get trueValue(): ICLUValue; valueIsFalse(value: ICLUValue): boolean; valueIsInteger(value: ICLUValue): boolean; valueAsInteger(value: ICLUValue): number; integerAsValue(value: number): ICLUValue; } //# sourceMappingURL=global-info.d.ts.map