ifc-expressions
Version:
Parsing and evaluation of IFC expressions
20 lines (19 loc) • 978 B
TypeScript
import { IfcExpressionContext } from "../../context/IfcExpressionContext.js";
import { ExprBase } from "../ExprBase.js";
import { Expr } from "../Expr.js";
import { ExpressionValue } from "../../value/ExpressionValue.js";
import { ExprEvalResult } from "../ExprEvalResult.js";
import { ExprType } from "../../type/ExprType.js";
import { ExprStringBuilder } from "../ExprStringBuilder.js";
export declare class BuiltinFunctionCallExpr extends ExprBase<ExpressionValue> {
private readonly target;
private readonly name;
private readonly args;
private readonly targetName;
private readonly type;
constructor(target: Expr<ExpressionValue>, name: string, args: Array<Expr<ExpressionValue>>, type: ExprType, targetName: string);
getChildren(): Array<Expr<any>>;
evaluate(ctx: IfcExpressionContext, localCtx: Map<string, any>): ExprEvalResult<ExpressionValue>;
protected buildExprString(builder: ExprStringBuilder): void;
getType(): ExprType;
}