UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

14 lines (13 loc) 787 B
import { Expr2 } from "../Expr2.js"; import { Expr } from "../Expr.js"; import { IfcExpressionContext } from "../../context/IfcExpressionContext.js"; import { NumericValue } from "../../value/NumericValue.js"; import { ExprEvalError } from "../ExprEvalResult.js"; import { ExprType } from "../../type/ExprType.js"; import { ExprStringBuilder } from "../ExprStringBuilder.js"; export declare class MultiplyExpr extends Expr2<NumericValue, NumericValue, NumericValue> { constructor(left: Expr<NumericValue>, right: Expr<NumericValue>); protected calculateResult(ctx: IfcExpressionContext, localCtx: Map<string, any>, left: NumericValue, right: NumericValue): NumericValue | ExprEvalError; protected buildExprString(builder: ExprStringBuilder): void; getType(): ExprType; }