Skip to content

Commit

Permalink
Add GritQL grammar (#1951)
Browse files Browse the repository at this point in the history
  • Loading branch information
arendjr authored Mar 7, 2024
1 parent 8a4addc commit d064dcd
Show file tree
Hide file tree
Showing 27 changed files with 21,434 additions and 79 deletions.
17 changes: 17 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

0 comments on commit d064dcd

Please sign in to comment.