ifc-expressions
Version:
Parsing and evaluation of IFC expressions
16 lines (15 loc) • 880 B
TypeScript
import { IfcExpressionContext } from "../../context/IfcExpressionContext.js";
import { Expr1 } from "../Expr1.js";
import { ExpressionValue } from "../../value/ExpressionValue.js";
import { ExprType } from "../../type/ExprType.js";
import { ExprStringBuilder } from "../ExprStringBuilder.js";
import { ExprEvalErrorObj } from "../ExprEvalResult.js";
export declare class BuiltinPropertyAccessExpr extends Expr1<ExpressionValue, ExpressionValue> {
private readonly memberName;
private readonly targetName;
private readonly type;
constructor(target: any, memberName: string, type: ExprType, targetName: string);
protected calculateResult(_ctx: IfcExpressionContext, _localCtx: Map<string, any>, subExpressionResult: ExpressionValue): ExpressionValue | ExprEvalErrorObj;
protected buildExprString(builder: ExprStringBuilder): void;
getType(): ExprType;
}