RenderScope_Anchored Module
Nested modules
| Modules | Description |
|
|
|
|
|
Functions and values
| Function or value |
Description
|
Full Usage:
addOrReplace ctx key value
Parameters:
GeneratorContext
key : ResolvedType
value : Choice<TypeRefRender, RenderScope>
Modifiers: inline |
|
Full Usage:
anchor ctx anchors anchorPath resolvedType
Parameters:
GeneratorContext
anchors : Dictionary<ResolvedType, (TypePath * Render)>
anchorPath : AnchorPath
resolvedType : ResolvedType
|
|
Full Usage:
anchorPreludeAnchorScope ctx anchors anchorPath renderScope
Parameters:
GeneratorContext
anchors : Dictionary<ResolvedType, (TypePath * Render)> option
anchorPath : AnchorPath
renderScope : RenderScope
|
|
Full Usage:
anchorPreludeExportScope ctx export renderScopeStore
Parameters:
GeneratorContext
export : ResolvedExport
renderScopeStore : RenderScopeStore
Returns: Dictionary<ResolvedType, (TypePath * Render)>
|
|
|
Emit the canonical OWNER-INDEPENDENT hoisted types once: literal-union enums at
`LiteralUnions.
|
Full Usage:
markSharedLiterals countingCtx realCtx
Parameters:
GeneratorContext
realCtx : GeneratorContext
|
Assign canonical `SharedLiterals.
|
Full Usage:
markSharedLiteralsFromExportList ctx exports
Parameters:
GeneratorContext
exports : ResolvedExport list
|
Run the shared-literal counting pass over an explicit export LIST (no interner) and mark the
genuinely-shared literals on `ctx`. Drives a throwaway counting context whose
`SharedLiteralVisits` collector records every literal def-home VISIT, then assigns canonical
`SharedLiterals.
|
Full Usage:
registerAnchorFromExport ctx export
Parameters:
GeneratorContext
export : ResolvedExport
|
|