Support comments on attributes (#5850)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-03-20 16:23:20 +13:00
committed by GitHub
parent 79be72c5f0
commit 461a2c3ab2
319 changed files with 37650 additions and 4752 deletions

View File

@ -79,6 +79,7 @@ const newVar = myVar + 1`
tag: {
end: 111,
start: 104,
commentStart: expect.any(Number),
type: 'TagDeclarator',
value: 'myPath',
},
@ -106,6 +107,7 @@ const newVar = myVar + 1`
tag: {
end: 192,
start: 182,
commentStart: expect.any(Number),
type: 'TagDeclarator',
value: 'rightPath',
},
@ -204,6 +206,7 @@ const newVar = myVar + 1`
tag: {
end: 140,
start: 133,
commentStart: expect.any(Number),
type: 'TagDeclarator',
value: 'myPath',
},