This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rome_css_parser): CSS lexer #4682
- Loading branch information
1 parent
2716986
commit ae13e2a
Showing
13 changed files
with
859 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[package] | ||
authors.workspace = true | ||
categories = ["parser-implementations", "development-tools"] | ||
description = "An extremely fast CSS parser" | ||
documentation = "https://rustdocs.rome.tools/rome_css_parser/index.html" | ||
edition.workspace = true | ||
homepage.workspace = true | ||
license.workspace = true | ||
name = "rome_css_parser" | ||
repository.workspace = true | ||
version = "0.0.1" | ||
|
||
[dependencies] | ||
rome_console = { workspace = true } | ||
rome_diagnostics = { workspace = true } | ||
rome_js_unicode_table = { workspace = true } | ||
rome_css_syntax = { workspace = true } | ||
rome_parser = { workspace = true } | ||
rome_rowan = { workspace = true } | ||
tracing = { workspace = true } | ||
|
||
[dev-dependencies] | ||
insta = { workspace = true } | ||
quickcheck = "1.0.3" | ||
quickcheck_macros = "1.0.0" | ||
tests_macros = { workspace = true } | ||
|
||
# cargo-workspaces metadata | ||
[package.metadata.workspaces] | ||
independent = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) Rome Tools, Inc. and its affiliates. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<p align="center"> | ||
<picture> | ||
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/rome/brand/main/PNG/logo_white_yellow_transparent.png" width="700"> | ||
<img alt="Rome's logo depicting an ancient Roman arch with the word Rome to its side" src="https://raw.githubusercontent.com/rome/brand/main/PNG/logo_transparent.png" width="700"> | ||
</picture> | ||
</p> | ||
|
||
<div align="center"> | ||
|
||
[![MIT licensed][mit-badge]][mit-url] | ||
[![Discord chat][discord-badge]][discord-url] | ||
[![CI on main][ci-badge]][ci-url] | ||
[![npm version][npm-badge]][npm-url] | ||
[![VSCode version][vscode-badge]][vscode-url] | ||
[![cargo version][cargo-badge]][cargo-url] | ||
|
||
|
||
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg?color=brightgreen | ||
[mit-url]: LICENSE | ||
[discord-badge]: https://img.shields.io/discord/678763474494423051?logo=discord&label=discord&color=brightgreen | ||
[discord-url]: https://discord.gg/rome | ||
[ci-badge]: https://github.com/rome/tools/actions/workflows/main.yml/badge.svg | ||
[ci-url]: https://github.com/rome/tools/actions/workflows/main.yml | ||
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen | ||
[npm-url]: https://www.npmjs.com/package/rome/v/latest | ||
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode | ||
[vscode-url]: https://marketplace.visualstudio.com/items?itemName=rome.rome | ||
[cargo-badge]: https://img.shields.io/crates/v/rome_css_parser?&color=brightgreen | ||
[cargo-url]: https://crates.io/crates/rome_css_parser | ||
|
||
</div> | ||
|
||
# `rome_css_parser` | ||
|
||
Rome's CSS parser implementation. Follow the [documentation](https://rustdocs.rome.tools/rome_css_parser/index.html). | ||
|
Oops, something went wrong.