highlights(hack): add keywords implements

This commit is contained in:
Stephan Seitz 2021-11-28 15:12:08 +01:00
parent cc0bdabe5f
commit 6a61461d18
4 changed files with 25 additions and 4 deletions

View file

@ -0,0 +1,12 @@
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
);
}