fix(highlights): improve member/property distinction

This commit is contained in:
ObserverOfTime 2024-01-10 18:05:37 +02:00 committed by Christian Clason
parent 2f38c36294
commit fa38f4e6f9
34 changed files with 106 additions and 95 deletions

View file

@ -1,15 +1,15 @@
class H {
pub_field = "Hello";
// ^ @property
// ^ @variable.member
#priv_field = "World!";
// ^ @property
// ^ @variable.member
#private_method() {
// ^ @function.method
return `${this.pub_field} -- ${this.#priv_field}`;
// ^ @property
// ^ @property
// ^ @variable.member
// ^ @variable.member
}
public_method() {