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

refactor(css/parser): refactor more #6251

Merged
merged 16 commits into from
Oct 26, 2022

Conversation

alexander-akait
Copy link
Contributor

Description:

Refactor parser more

BREAKING CHANGE:

No, but AST is changed

Related issue (if exists):

No

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
x Expected whitespace, semicolon, EOF, at-keyword or ident token
,-[$DIR/tests/recovery/hacks/input.css:226:1]
226 | .selector { [;property: value;]; }
: ^
`----

x Expected whitespace, semicolon, EOF, at-keyword or ident token
,-[$DIR/tests/recovery/hacks/input.css:226:1]
226 | .selector { [;property: value;]; }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid duplicate errors, we already reported about it above

Verified

This commit was signed with the committer’s verified signature.
marco-ippolito Marco Ippolito

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
targos Michaël Zasso

Verified

This commit was signed with the committer’s verified signature.
mcollina Matteo Collina

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
aduh95 Antoine du Hamel

Verified

This commit was signed with the committer’s verified signature.
RafaelGSS Rafael Gonzaga

Verified

This commit was signed with the committer’s verified signature.
richardlau Richard Lau

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
ruyadorno Ruy Adorno
@kdy1 kdy1 self-assigned this Oct 25, 2022
@kdy1 kdy1 added this to the Planned milestone Oct 25, 2022

Verified

This commit was signed with the committer’s verified signature.
RafaelGSS Rafael Gonzaga

Verified

This commit was signed with the committer’s verified signature.
joyeecheung Joyee Cheung

Verified

This commit was signed with the committer’s verified signature.
anonrig Yagiz Nizipli
@alexander-akait
Copy link
Contributor Author

@kdy1 Ready for review

@alexander-akait alexander-akait marked this pull request as ready for review October 26, 2022 01:06

x WhiteSpace { value: Atom(' ' type=inline) }
,-[$DIR/tests/recovery/at-rule/font-face/input.css:17:1]
17 | @font-face foo {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be skipped

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

swc-bump:

  • swc_css_ast

@kdy1 kdy1 merged commit a0e4684 into swc-project:main Oct 26, 2022
@alexander-akait alexander-akait deleted the refactor-parser-more branch October 26, 2022 10:27
@kdy1 kdy1 modified the milestones: Planned, v1.3.12, v1.3.13 Nov 2, 2022
@kdy1 kdy1 modified the milestones: Planned, v1.3.13 Nov 2, 2022
@swc-project swc-project locked as resolved and limited conversation to collaborators Dec 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants