UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

13 lines (12 loc) 788 B
import { FuncArgBase } from "./FuncArgBase.js"; import { ExpressionValue } from "../../../value/ExpressionValue.js"; import { ExprEvalResult, ExprEvalSuccess } from "../../ExprEvalResult.js"; import { BooleanValue } from "../../../value/BooleanValue.js"; import { ExprType } from "../../../type/ExprType.js"; import { FunctionExpr } from "../FunctionExpr.js"; import { LogicalValue } from "../../../value/LogicalValue.js"; export declare class FuncArgLogicalOrBoolean extends FuncArgBase<BooleanValue | LogicalValue> { constructor(required: boolean, name: string, defaultValue?: BooleanValue | LogicalValue); getType(): ExprType; protected transformForTypeCheck(callingExpr: FunctionExpr, invocationValue: ExprEvalSuccess<ExpressionValue>): ExprEvalResult<ExpressionValue>; }