☰
Debian Codegraph
@
25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2.1
25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2
25.07.1+20260624+ds+~0.3.3+ds+~0.4.0+20260607+ds-4
/
/
tests
/
query
/
highlights
/
tsx
/
elements.tsx
☽
☼
tests/query/highlights/tsx/elements.tsx
code
plain
raw
MPL-2.0
Blaž Hrastnik <
[email protected]
>
debian/copyright
1
function add(a: number): number {
2
// ^ @function
3
// ^ @variable.parameter
4
// ^ @type.builtin
5
return a + 1;
6
}
7
const el = <Foo bar={add(2)}>hi</Foo>;
8
// ^ @constructor
9
// ^ @attribute
10
// ^ @function
11
// ^ @constructor