nvim-treesitter/tests/query/highlights/wing/class.w
2024-05-01 09:59:50 +02:00

19 lines
353 B
OpenEdge ABL

bring cloud;
// <- @keyword
class Foo {
// <- @keyword.type
// ^ @type
// ^ @punctuation.bracket
name: str;
//^ @variable.member
// ^ @type.builtin
// ^ @punctuation.delimiter
new(name: str) {
//^ @keyword
// ^ @variable
this.name = name;
// ^ @punctuation.delimiter
// ^ @operator
}
}