ifc-expressions
Version:
Parsing and evaluation of IFC expressions
10 lines (9 loc) • 461 B
TypeScript
import { BoxedValueTypes } from "./BoxedValueTypes.js";
import { ExprType } from "../type/ExprType.js";
import { ValueType } from "./ValueType.js";
export interface Value<T extends ValueType | BoxedValueTypes | Record<string, unknown> | Array<Value<BoxedValueTypes | Record<string, unknown> | Array<Value<BoxedValueTypes | Record<string, unknown>>>>>> {
getValue(): T;
equals(other: Value<any>): boolean;
toString(): any;
getType(): ExprType;
}