Is it possible to use or in function declarations? like:
functionDecl(hasName("a") or hasName("b"))
or we have to use addMatcher to add more matchers to get the same result?
Is it possible to use or in function declarations? like:
functionDecl(hasName("a") or hasName("b"))
or we have to use addMatcher to add more matchers to get the same result?
Copyright © 2021 Jogjafile Inc.
There are several narrowing matchers that form logical combinations of other matchers:
anyOfis like "or",allOfcan implement "and", andunlessis like "not". Your example might look like