Given an expression, we want to find list of all the arguments of such function, say \(y(.)\) in that expression. This can be used for example to check if the arguments of such a function are valid during parsing.
One way is to use indets to select all such functions from the expression, then use op as
above to find the arguments. Here is an example