@modelprofile.com/flexharness 13.0.0 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@modelprofile.com/flexharness',
6
- version: '13.0.0',
6
+ version: '13.1.0',
7
7
  description: 'The FlexHarness toolbox source repository and shared dependency catalog.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSwrQkFBK0I7SUFDckMsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLDBFQUEwRTtDQUN4RixDQUFBIn0=
@@ -35,6 +35,20 @@ export declare class FlexToolCatalog<TScope = unknown> {
35
35
  * maps type names that are no identifiers the same way.
36
36
  */
37
37
  static identifierOf(name: string): string;
38
+ /**
39
+ * The identifier each type name of a catalog of exactly these types is declared under: a name that
40
+ * is an identifier keeps it, and each other takes `identifierOf()`'s, in code-point order with
41
+ * `_2`, `_3` … appended where that is taken (`a_b` and `a-b` are declared as `a_b` and `a_b_2`).
42
+ * As a name's identifier depends on the other names, a host that hands a catalog only some of its
43
+ * types keeps the ones that took the lower identifiers along.
44
+ */
45
+ static identifiersOf(names: Iterable<string>): Map<string, string>;
46
+ /**
47
+ * The identifiers a declaration's code names, sorted; its comments and the contents of its string
48
+ * literals name none. The catalog takes the named types a declaration uses from these, so a host
49
+ * that hands a catalog only some of its types finds the ones a declaration needs the same way.
50
+ */
51
+ static identifiersIn(declaration: string): string[];
38
52
  /**
39
53
  * Prepares `catalog`. Preparing the same object again returns the cached preparation, so a host
40
54
  * that returns one catalog object for every run pays for it once.