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

Add GritQL grammar #1951

Merged
merged 8 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ biome_diagnostics_macros = { version = "0.4.0", path = "./crates/biome_diagn
biome_file_source = { version = "0.4.0", path = "./crates/biome_file_source" }
biome_formatter = { version = "0.4.0", path = "./crates/biome_formatter" }
biome_fs = { version = "0.4.0", path = "./crates/biome_fs" }
biome_grit_factory = { version = "0.4.0", path = "./crates/biome_grit_factory" }
biome_grit_syntax = { version = "0.4.0", path = "./crates/biome_grit_syntax" }
biome_html_factory = { version = "0.4.0", path = "./crates/biome_html_factory" }
biome_html_syntax = { version = "0.4.0", path = "./crates/biome_html_syntax" }
biome_js_analyze = { version = "0.4.0", path = "./crates/biome_js_analyze" }
Expand Down
18 changes: 18 additions & 0 deletions crates/biome_grit_factory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
authors.workspace = true
description = "Utilities to create GritQL AST for biome_grit_parser"
documentation = "https://docs.rs/biome_grit_factory"
edition.workspace = true
license.workspace = true
name = "biome_grit_factory"
repository.workspace = true
version = "0.4.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
biome_grit_syntax = { workspace = true }
biome_rowan = { workspace = true }

[lints]
workspace = true
7 changes: 7 additions & 0 deletions crates/biome_grit_factory/src/generated.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#[rustfmt::skip]
pub(super) mod syntax_factory;
#[rustfmt::skip]
#[allow(unused)]
pub(crate) mod node_factory;

pub use syntax_factory::GritSyntaxFactory;
Loading
Loading