codepropertygraph icon indicating copy to clipboard operation
codepropertygraph copied to clipboard

Enums

Open fabsx00 opened this issue 5 years ago • 1 comments

I noticed that some of the enums used only in the backend are referred to in generateJava.py. For example,

https://github.com/ShiftLeftSecurity/codepropertygraph/blob/master/codepropertygraph/codegen/src/main/python/generateJava.py#L31

refers to "Frameworks". We need to, instead, look for arbitrary enums (that is members of the root level with names not nodeType, edgeType...).

fabsx00 avatar Jul 30 '18 23:07 fabsx00

To clarify: you simply want to iterate over all top level json entries, rather than hard coding them (maybe excluding nodeType/edgeType)?

If I understand that right, the only thing we need to iron out first is the difference between Operators and the rest.

mpollmeier avatar Jul 31 '18 13:07 mpollmeier