nvim-treesitter/tests/query/highlights/wing/class.w
Glib Shpychka f460cc8ee7
feat(wing): add parser (#5021)
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-06-29 10:34:46 +00:00

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