mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
13 lines
248 B
Text
13 lines
248 B
Text
|
|
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
|
||
|
|
);
|
||
|
|
}
|