ifc-expressions
Version:
Parsing and evaluation of IFC expressions
8 lines (7 loc) • 567 B
TypeScript
import { ExprType } from "../type/ExprType.js";
import { ExpressionValue } from "../value/ExpressionValue.js";
import { ContextObjectValue } from "../value/ContextObjectValue.js";
export declare function toExpressionValue(value: unknown, expectedType: ExprType): ExpressionValue;
export declare function inferExpressionValue(value: unknown, fallbackType?: ExprType): ExpressionValue;
export declare function unwrapExpressionValue(value: ExpressionValue): unknown;
export declare function getBuiltinMemberValue(value: ContextObjectValue, memberName: string): unknown;