ifc-expressions
Version:
Parsing and evaluation of IFC expressions
14 lines (13 loc) • 712 B
TypeScript
import { Decimal } from "decimal.js";
import { IfcExpressionContext } from "../../context/IfcExpressionContext.js";
import { NumericValue } from "../../value/NumericValue.js";
import { ExprEvalError } from "../ExprEvalResult.js";
import { LiteralExpr } from "../LiteralExpr.js";
import { ExprType } from "../../type/ExprType.js";
import { ExprStringBuilder } from "../ExprStringBuilder.js";
export declare class NumericLiteralExpr extends LiteralExpr<NumericValue, NumericValue> {
constructor(value: number | string | Decimal);
protected calculateResult(ctx: IfcExpressionContext): NumericValue | ExprEvalError;
protected buildExprString(builder: ExprStringBuilder): void;
getType(): ExprType;
}