pako

Results 4 comments of pako

Would CallableNodeInterface also include anonymous functions? They don't have a name, so they are a bit different from functions and methods. What about MethodOrFunctionNodeInterface? A bit longer, but would avoid...

It would also be useful to have a common interface for ClassMethodNodes and InterfaceMethodNodes. Otherwise it's impossible to add type hints to parameters of methods that accept either type of...

What about ClassOrInterfaceMethodNode and ClassInterfaceOrTraitNode?