Closed Andrea-Scuderi closed 2 years ago
@Andrea-Scuderi Seems to be working fine, thanks for the enhancement. While I was testing your PR, I've found some nasty bugs in the SwiftParser when creating an additional entity inheritance graph. I will check this in more detail in the coming days to also allow your additional keywords (e.g. enum, protocol) to be included correctly in the inheritance graph.
Improve Swift language support
protocol
,enum
,let
as described in #12 point 1.Test Source code:
Output:
Desired output:
Naming
doesn't depend from other entitiesDescribing
doesn't depend from other entitiesClassA
depends onNaming
,Describing
ClassB
depends onClassA
EnumA
depends onEnumB
EnumB
depends onDescribing
StructC
depends onNaming
,Describing
,EnumA
EmergeSwiftTest
depends onClassB
,EnumB
(** Not supported by this changeEnumA
,ClassA
)Note: ** Static entities are not evaluated