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(css): parse css rules (qualified, at) rules #229

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Conversation

neuodev
Copy link
Collaborator

@neuodev neuodev commented Nov 5, 2023

No description provided.

@neuodev neuodev requested a review from a team November 5, 2023 10:12
@neuodev neuodev self-assigned this Nov 5, 2023
let mut rules = Vec::new();

loop {
if self.current_token().is_whitespace() {
Copy link
Contributor

Choose a reason for hiding this comment

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

using match is better or not?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point! yup, it will be much better. I will refactor it in future iterations.

@neuodev neuodev merged commit 642b337 into main Nov 6, 2023
4 checks passed
@neuodev neuodev deleted the ahmed/css-parser-3 branch November 6, 2023 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants