mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
22fe482d05
support to ccstd::string so that the gfx-define-generator can work again. 1. add `\:` to the second group of structMemberRE to make sure we can get ccstd::string instead of ccstd. 2. add `type.replace(/(\b)(?:ccstd::string)(\b)/, '$1string$2');` to make sure that ccstd::string can be replaced by string.