Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /**
* The declared-type sets a name is classified against.
*
* A structural subset of `ICodeGenSymbols`, so both the per-file symbol view
* and `CodeGenState`'s accessors satisfy it without either side converting.
*/
interface IDeclaredTypeSets {
/**
* Widened for `DeclaredTypeFacts.isStruct` (#1656). Every supplier is an
* `ICodeGenSymbols` or a structural stand-in for one, and all of them already
* carry this set, so the widening costs no caller a field.
*/
readonly knownStructs: ReadonlySet<string>;
/**
* Widened for `DeclaredTypeFacts.isScope` (#1456), on the same argument
* `knownStructs` carries above: every supplier is an `ICodeGenSymbols` or a
* structural stand-in, and all of them already have this set.
*/
readonly knownScopes: ReadonlySet<string>;
readonly knownEnums: ReadonlySet<string>;
readonly knownBitmaps: ReadonlySet<string>;
readonly bitmapBitWidth: ReadonlyMap<string, number>;
}
export default IDeclaredTypeSets;
|