Closed persytry closed 1 month ago
class c{
constructor(){
...
}
}
The function constructor
cannot to be recognized either.
It's expected since they're reported as properties. Use other tools tree-sister might helps
I understand tree-sister and COC do similar things, but I prefer the COC approach. I don't think it's worth introducing another language parser because of this one problem.
Getters, setters, and constructor methods are treated only as properties, which I don't think makes sense; they should be both properties and functions (or methods).
If they can be thought of as functions (or methods), then they aren't can't fix
, are they?
Above four map cannot work for getter/setter functions. .eg typescript