Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(common): Reserve BytePos(0) for dummy spans #4616

Merged
merged 45 commits into from
May 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
bbf578b
Change start to 1
kdy1 May 11, 2022
8e0d9e6
Doc
kdy1 May 11, 2022
ba5e2c3
Some fix
kdy1 May 11, 2022
a5a3290
ADR
kdy1 May 11, 2022
8637e3a
ADR
kdy1 May 11, 2022
4248085
ADR
kdy1 May 11, 2022
a8877c5
Some more
kdy1 May 11, 2022
2276687
cspell
kdy1 May 11, 2022
e142bc2
Fix
kdy1 May 11, 2022
705b9b5
Fix
kdy1 May 11, 2022
4f87015
Fix
kdy1 May 11, 2022
ec9fba4
Fix `swc_common`
kdy1 May 11, 2022
ff92b63
ADR
kdy1 May 11, 2022
cdea45e
Fix some
kdy1 May 11, 2022
abca695
Fix more
kdy1 May 11, 2022
474e3da
Fix lexer
kdy1 May 11, 2022
9b9222a
More fix
kdy1 May 11, 2022
7970a36
fix
kdy1 May 11, 2022
dbf12db
Fix parser --lib
kdy1 May 11, 2022
3d151a8
Fix `swc_ecma_parser`
kdy1 May 11, 2022
505eccf
Fix `swc_ecma_codegen`
kdy1 May 11, 2022
f7f6b48
Update test refs
kdy1 May 11, 2022
0250bc4
ADR
kdy1 May 11, 2022
cb8df67
Plugin
kdy1 May 11, 2022
4ab78b2
Add `is_dummy`
kdy1 May 11, 2022
8e9eb59
Check
kdy1 May 11, 2022
ad6f589
Handle dummy bytepos in error reporter
kdy1 May 11, 2022
cefa1b2
Need some check...
kdy1 May 11, 2022
b55f2ed
Fix panic
kdy1 May 11, 2022
b4a7ac7
Update test refs
kdy1 May 11, 2022
9e6c93b
Fix css parser
kdy1 May 11, 2022
518aad5
Update test refs
kdy1 May 11, 2022
eca4456
Better logic
kdy1 May 11, 2022
45ebabd
Update test refs
kdy1 May 11, 2022
efcdb8f
Update tet refs
kdy1 May 11, 2022
afb8e07
Fix error reporter
kdy1 May 11, 2022
88ef4b6
Fix error reporter
kdy1 May 11, 2022
67cb028
Update test refs
kdy1 May 11, 2022
1938453
ADR
kdy1 May 11, 2022
56ba330
Update test refs
kdy1 May 11, 2022
85e8e36
Fix
kdy1 May 11, 2022
784e54b
Fux
kdy1 May 11, 2022
a5d0f49
Merge branch 'main' into bytepos
kdy1 May 11, 2022
4bae960
ADR
kdy1 May 11, 2022
0bfb232
Update test refs
kdy1 May 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
80 changes: 40 additions & 40 deletions crates/jsdoc/tests/fixtures/abstracttag.debug
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
JsDoc {
span: Span {
lo: BytePos(
0,
1,
),
hi: BytePos(
0,
1,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
0,
1,
),
hi: BytePos(
0,
1,
),
ctxt: #0,
},
Expand All @@ -25,20 +25,20 @@
TagItem {
span: Span {
lo: BytePos(
0,
1,
),
hi: BytePos(
11,
12,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
0,
1,
),
hi: BytePos(
11,
12,
),
ctxt: #0,
},
Expand All @@ -48,10 +48,10 @@
ClassTag {
span: Span {
lo: BytePos(
0,
1,
),
hi: BytePos(
11,
12,
),
ctxt: #0,
},
Expand All @@ -65,20 +65,20 @@
JsDoc {
span: Span {
lo: BytePos(
45,
46,
),
hi: BytePos(
45,
46,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
45,
46,
),
hi: BytePos(
45,
46,
),
ctxt: #0,
},
Expand All @@ -88,20 +88,20 @@
TagItem {
span: Span {
lo: BytePos(
45,
46,
),
hi: BytePos(
53,
54,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
45,
46,
),
hi: BytePos(
53,
54,
),
ctxt: #0,
},
Expand All @@ -111,10 +111,10 @@
AbstractTag {
span: Span {
lo: BytePos(
45,
46,
),
hi: BytePos(
53,
54,
),
ctxt: #0,
},
Expand All @@ -126,20 +126,20 @@
JsDoc {
span: Span {
lo: BytePos(
99,
100,
),
hi: BytePos(
99,
100,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
99,
100,
),
hi: BytePos(
99,
100,
),
ctxt: #0,
},
Expand All @@ -149,20 +149,20 @@
TagItem {
span: Span {
lo: BytePos(
99,
100,
),
hi: BytePos(
110,
111,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
99,
100,
),
hi: BytePos(
110,
111,
),
ctxt: #0,
},
Expand All @@ -172,10 +172,10 @@
ClassTag {
span: Span {
lo: BytePos(
99,
100,
),
hi: BytePos(
110,
111,
),
ctxt: #0,
},
Expand All @@ -189,20 +189,20 @@
JsDoc {
span: Span {
lo: BytePos(
149,
150,
),
hi: BytePos(
149,
150,
),
ctxt: #0,
},
description: Text {
span: Span {
lo: BytePos(
149,
150,
),
hi: BytePos(
149,
150,
),
ctxt: #0,
},
Expand All @@ -212,20 +212,20 @@
TagItem {
span: Span {
lo: BytePos(
149,
150,
),
hi: BytePos(
156,
157,
),
ctxt: #0,
},
tag_name: Text {
span: Span {
lo: BytePos(
149,
150,
),
hi: BytePos(
156,
157,
),
ctxt: #0,
},
Expand All @@ -235,10 +235,10 @@
AbstractTag {
span: Span {
lo: BytePos(
149,
150,
),
hi: BytePos(
156,
157,
),
ctxt: #0,
},
Expand Down
Loading