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

20 lines
333 B
OpenEdge ABL
Raw Normal View History

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
}
}