nvim-treesitter/tests/query/highlights/wing/class.w

20 lines
353 B
OpenEdge ABL
Raw Normal View History

bring cloud;
// <- @keyword
class Foo {
2024-04-23 12:23:15 -07:00
// <- @keyword.type
2024-04-14 11:53:37 -04:00
// ^ @type
// ^ @punctuation.bracket
name: str;
//^ @variable.member
// ^ @type.builtin
// ^ @punctuation.delimiter
new(name: str) {
//^ @keyword
// ^ @variable
this.name = name;
// ^ @punctuation.delimiter
// ^ @operator
}
}