Expand description
Port of src/parser/declaration/*: shorthand computation and duplicate declaration removal.
The typescript Maps are insertion ordered: JsMap (a key set again keeps its position, a deleted key set again
moves to the end). The shorthand configuration (properties.json) is read as json values, like the typescript
property accesses.
Modules§
- list
- Port of
src/parser/declaration/list.ts. - map
- Port of
src/parser/declaration/map.ts. - set
- Port of
src/parser/declaration/set.ts.
Structs§
- JsMap
- insertion ordered map with the semantics of the javascript
Map
Enums§
- Decl
Entry - a value of the declaration maps: a declaration node, or a set / map of declarations shared by reference
Functions§
- flatten
- the declarations of entries: the sets and the maps are iterated (
[Symbol.iterator](), which may compute a shorthand: each iteration runs it again, like the typescript iterators)