codepropertygraph
codepropertygraph copied to clipboard
Enums
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
...).
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.