Go: FunctionNode abstract methods #188
-
Extending the FunctionNode type is a bit complex due to the number of abstract methods that must be implemented.
Is there a way to create a more generalized implementation of these methods in order to reduce the number of methods that must be implemented? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hm, yes, that's a little cumbersome. Note that you can just override all of these member predicates as I think we may want to switch that class to using the |
Beta Was this translation helpful? Give feedback.
-
Seems like a good idea: github/codeql-go#362 |
Beta Was this translation helpful? Give feedback.
Seems like a good idea: github/codeql-go#362