1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 18:00:05 +08:00
SpaceVim/bundle/nvim-treesitter-0.9.1/tests/query/highlights/wing/class.w

20 lines
333 B
OpenEdge ABL

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