ifc-expressions
Version:
Parsing and evaluation of IFC expressions
10 lines (9 loc) • 383 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 | Array<Value<BoxedValueTypes | Array<Value<BoxedValueTypes>>>>> {
getValue(): T;
equals(other: Value<any>): boolean;
toString(): any;
getType(): ExprType;
}