I’m afraid I don’t have any of those.
All of the frameworks in the Frameworks folders of my System, Local, and User Library folders appear with those icons, have disclosure triangles (or whatever they’re called) beside them in Finder list views, and can be double-clicked open like regular folders. There are also a few aliases or links (which may or may not have those icons) to frameworks elsewhere.
Your script and mine return exactly the same results for my Applications folder (including the two hits from outside the hierarchy), my three Frameworks folders, and my three Scripting Additions folders. (Although my third-party OSAXen don’t work in Mojave, they’re still there. None of the Scripting Additions folders produce any hits.)
Just in case the three of us are talking at cross-purposes, I’m referring to ionah’s script and mine, which simply find alias files. I’m not talking about any later adaptation which attempts to follow the alias links.