nvim-treesitter/tests/query/highlights/hack/shapes.hack

13 lines
248 B
Text
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
);
}