Documentation
¶
Overview ¶
Package naming contains target-independent helpers for encoding TypeRB source names that are not valid identifiers in every backend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallableSuffix ¶
CallableSuffix returns the source suffix kind and a reversible encoding of the complete TypeRB name. Encoding the complete name keeps distinct source spellings distinct even when a backend normally normalizes their base name.
func PrivateSuffix ¶ added in v0.3.25
PrivateSuffix returns a short deterministic suffix for generated identifiers whose declarations share a target-language package across source modules.
func RuntimeBindingIdentifier ¶ added in v0.3.23
RuntimeBindingIdentifier returns a deterministic private identifier for a canonical native runtime binding identity.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.