ifc-expressions
Version:
Parsing and evaluation of IFC expressions
13 lines (12 loc) • 766 B
TypeScript
import { FuncArgBase } from "./FuncArgBase.js";
import { ExpressionValue } from "../../../value/ExpressionValue.js";
import { ExprEvalResult, ExprEvalSuccess } from "../../ExprEvalResult.js";
import { StringValue } from "../../../value/StringValue.js";
import { ExprType } from "../../../type/ExprType.js";
import { FunctionExpr } from "../FunctionExpr.js";
export declare class FuncArgRegex extends FuncArgBase<StringValue> {
constructor(required: boolean, name: string, defaultValue?: StringValue);
getType(): ExprType;
protected transformForTypeCheck(callingExpr: FunctionExpr, invocationValue: ExprEvalSuccess<ExpressionValue>): ExprEvalResult<ExpressionValue>;
protected toRegexString(patternString: StringValue): ExprEvalResult<StringValue>;
}