- Hover provider showing entity information and type - Go-to-definition (F12) for entity references - Basic IFC file validation (ISO-10303-21 header check) - Entity parsing with regex-based detection - Proper CommonJS module system (avoiding ES module issues) This replaces the broken baseline from ifc-developer-tools which had: - Non-functional ES module configuration - Circular dependency issues - Parser crashes - Non-working PositionVisitor Built on Microsoft's LSP example template for a clean, maintainable foundation. Next: Add hierarchical entity dependency tree in hover tooltip."
22 lines
639 B
TypeScript
22 lines
639 B
TypeScript
/**
|
|
* Represents a UUID as defined by rfc4122.
|
|
*/
|
|
export interface UUID {
|
|
/**
|
|
* @returns the canonical representation in sets of hexadecimal numbers separated by dashes.
|
|
*/
|
|
asHex(): string;
|
|
equals(other: UUID): boolean;
|
|
}
|
|
/**
|
|
* An empty UUID that contains only zeros.
|
|
*/
|
|
export declare const empty: UUID;
|
|
export declare function v4(): UUID;
|
|
export declare function isUUID(value: string): boolean;
|
|
/**
|
|
* Parses a UUID that is of the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
|
|
* @param value A uuid string.
|
|
*/
|
|
export declare function parse(value: string): UUID;
|
|
export declare function generateUuid(): string;
|