Go: FunctionNode abstract methods #188
Answered
by
smowton
jason-invision
asked this question in
General
|
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? |
Answered by
smowton
Oct 1, 2020
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 |
0 replies
Answer selected by
xcorail
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like a good idea: github/codeql-go#362