mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
chore(tests): consistent captures
This commit is contained in:
parent
17fae3f4a3
commit
10dd49958c
60 changed files with 872 additions and 873 deletions
|
|
@ -1,24 +1,24 @@
|
|||
class Box<T> {
|
||||
// ^ type
|
||||
// ^ type
|
||||
// ^ @type
|
||||
// ^ @type
|
||||
protected T $data;
|
||||
// ^ type.qualifier
|
||||
// ^ type
|
||||
// ^ @type.qualifier
|
||||
// ^ @type
|
||||
|
||||
public function __construct(T $data) {
|
||||
// ^ type
|
||||
// ^ parameter
|
||||
// ^ keyword.function
|
||||
// ^ type.qualifier
|
||||
// ^ method
|
||||
// ^ @type
|
||||
// ^ @parameter
|
||||
// ^ @keyword.function
|
||||
// ^ @type.qualifier
|
||||
// ^ @method
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
public function getData(): T {
|
||||
// ^ method
|
||||
// ^ type.qualifier
|
||||
// ^ @method
|
||||
// ^ @type.qualifier
|
||||
return $this->data;
|
||||
// ^ operator
|
||||
// ^ variable.builtin
|
||||
// ^ @operator
|
||||
// ^ @variable.builtin
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue