feat(highlights)!: keyword @type.qualifier@keyword.modifier

This commit is contained in:
Jaehwang Jung 2024-03-08 19:09:51 +09:00 committed by Christian Clason
parent f878828584
commit 998b230a77
76 changed files with 109 additions and 108 deletions

View file

@ -2,21 +2,21 @@ class Box<T> {
// ^ @type
// ^ @type
protected T $data;
// ^ @type.qualifier
// ^ @keyword.modifier
// ^ @type
public function __construct(T $data) {
// ^ @type
// ^ @variable.parameter
// ^ @keyword.function
// ^ @type.qualifier
// ^ @keyword.modifier
// ^ @function.method
$this->data = $data;
}
public function getData(): T {
// ^ @function.method
// ^ @type.qualifier
// ^ @keyword.modifier
return $this->data;
// ^ @operator
// ^ @variable.builtin