Skip to content

Commit 67498fe

Browse files
committed
Add note about IdentifySharedPrefixes's history
1 parent ce5187e commit 67498fe

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/for-contributors/Generator/generator-mods.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ so due to lack of time invested into doing so. There is also the slight performa
214214
out since it will lead to three separate passes over the codebase, but this cost is negligible for most reasonably sized
215215
native APIs.
216216

217-
Examples for how `ExtractNestedTyping` works can be found in the `ExtractNestedTypingTests` class.
217+
Examples for how `ExtractNestedTyping` works can be found in the `ExtractNestedTypingTests` test cases.
218218

219219
Name affix categories:
220220

@@ -246,7 +246,11 @@ This mod is designed to handle C-style namespace prefixes where all types, funct
246246
a common prefix. This includes casing convention differences. For example, constants often use screaming case while
247247
type and function names use camel case or pascal case.
248248

249-
Examples for how `IdentifySharedPrefixes` works can be found in the `IdentifySharedPrefixesTests` class.
249+
Implementation-wise, this mod's functionality was notably originally part of `PrettifyNames`. In the original form,
250+
`PrettifyNames` handled both the identification of and removal of shared prefixes. This has now been split out to
251+
simplify `PrettifyNames` and to provide better control over how shared prefixes are processed.
252+
253+
Examples for how `IdentifySharedPrefixes` works can be found in the `IdentifySharedPrefixesTests` test cases.
250254

251255
Name affix categories:
252256

0 commit comments

Comments
 (0)