Ast: Distiguish class/object methods with ordinary function expressions in FunctionType
#7385
Labels
C-enhancement
Category - New feature or request
FunctionType
#7385
The
FunctionType
enum already distinguishes function declarations and expressions. However, class methods and object methods are also considered to be function expressions, although they are different in some ways. For example:A possible solution is adding
MethodFunction
to theFunctionType
enum.The text was updated successfully, but these errors were encountered: