ifc-expressions
Version:
Parsing and evaluation of IFC expressions
13 lines (12 loc) • 459 B
TypeScript
import { ExprType } from "./ExprType.js";
export declare class SimpleType implements ExprType {
private readonly superType;
private readonly name;
constructor(name: string, superType?: SimpleType);
getName(): string;
isSameTypeAs(other: ExprType): boolean;
isSuperTypeOf(other: ExprType): boolean;
isSubTypeOf(other: ExprType): boolean;
overlapsWith(other: ExprType): boolean;
isAssignableFrom(other: ExprType): boolean;
}