UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

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