ifc-expressions
Version:
Parsing and evaluation of IFC expressions
16 lines (15 loc) • 556 B
TypeScript
import { ExprType } from "./ExprType.js";
import { ArrayType } from "./ArrayType.js";
export declare class TupleType implements ExprType {
private readonly types;
constructor(...types: Array<ExprType>);
getTypes(): Array<ExprType>;
toArrayType(): ArrayType;
getName(): string;
isAssignableFrom(other: ExprType): boolean;
isSameTypeAs(other: ExprType): boolean;
isSubTypeOf(other: ExprType): boolean;
private compareToOtherTuple;
isSuperTypeOf(other: ExprType): boolean;
overlapsWith(other: ExprType): boolean;
}