chore(tests): consistent captures

This commit is contained in:
Christian Clason 2023-12-24 12:52:21 +01:00
parent 17fae3f4a3
commit 10dd49958c
60 changed files with 872 additions and 873 deletions

View file

@ -1,39 +1,39 @@
program foobar;
// ^ keyword
// ^ @keyword
var
// <- keyword
// <- @keyword
foo: bar;
// ^ variable
// ^ type
// ^ @variable
// ^ @type
foo: foo.bar<t>;
// ^ variable
// ^ type
// ^ type
// ^ type
// ^ @variable
// ^ @type
// ^ @type
// ^ @type
begin
// ^ keyword
// ^ @keyword
foo := bar;
// ^ variable
// ^ variable
// ^ @variable
// ^ @variable
foo;
// ^ function
// ^ @function
foo();
// ^ function
// ^ @function
foo(bar(xyz));
// ^ function
// ^ function
// ^ variable
// ^ @function
// ^ @function
// ^ @variable
xx + yy;
// ^ variable
// ^ variable
// ^ @variable
// ^ @variable
xx := y + z + func(a, b, c);
// ^ variable
// ^ variable
// ^ variable
// ^ function
// ^ variable
// ^ variable
// ^ variable
// ^ @variable
// ^ @variable
// ^ @variable
// ^ @function
// ^ @variable
// ^ @variable
// ^ @variable
end.
// <- keyword
// <- @keyword