1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-27 12:10:06 +08:00
SpaceVim/bundle/nvim-treesitter/tests/query/highlights/hack/shapes.hack

13 lines
248 B
Plaintext
Raw Normal View History

class C extends Superclass implements Iface {
// ^ keyword ^ keyword
use Trait;
// < include
const type X = shape(
// <- keyword ^ type.builtin
"a" => int,
// ^ string
"b" => string,
// ^ type.builtin
);
}