repo stringlengths 6 65 | file_url stringlengths 81 311 | file_path stringlengths 6 227 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:31:58 2026-01-04 20:25:31 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/await_catch_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/await_catch_block.rs | use crate::html::lists::element_list::FormatHtmlElementList;
use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteAwaitCatchBlock, SvelteAwaitCatchBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteAwaitCatchBlock;
impl FormatNodeRule<SvelteAwaitCatchBlock> for For... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/if_opening_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/if_opening_block.rs | use crate::html::lists::element_list::FormatHtmlElementList;
use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteIfOpeningBlock, SvelteIfOpeningBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteIfOpeningBlock;
impl FormatNodeRule<SvelteIfOpeningBlock> for FormatS... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/await_then_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/await_then_block.rs | use crate::html::lists::element_list::FormatHtmlElementList;
use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteAwaitThenBlock, SvelteAwaitThenBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteAwaitThenBlock;
impl FormatNodeRule<SvelteAwaitThenBlock> for FormatS... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/await_opening_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/await_opening_block.rs | use crate::html::lists::element_list::FormatHtmlElementList;
use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteAwaitOpeningBlock, SvelteAwaitOpeningBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteAwaitOpeningBlock;
impl FormatNodeRule<SvelteAwaitOpeningBlock>... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/render_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/render_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteRenderBlock, SvelteRenderBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteRenderBlock;
impl FormatNodeRule<SvelteRenderBlock> for FormatSvelteRenderBlock {
fn fmt_fields(&self, node: &SvelteRenderBlock, f: &... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/debug_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/debug_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteDebugBlock, SvelteDebugBlockFields};
use biome_rowan::AstSeparatedList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteDebugBlock;
impl FormatNodeRule<SvelteDebugBlock> for FormatSvelteDebugBlock {
fn fmt_fields(&self,... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/else_clause.rs | crates/biome_html_formatter/src/svelte/auxiliary/else_clause.rs | use crate::html::lists::element_list::FormatHtmlElementList;
use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteElseClause, SvelteElseClauseFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteElseClause;
impl FormatNodeRule<SvelteElseClause> for FormatSvelteElseClause ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/each_opening_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/each_opening_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteEachOpeningBlock, SvelteEachOpeningBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteEachOpeningBlock;
impl FormatNodeRule<SvelteEachOpeningBlock> for FormatSvelteEachOpeningBlock {
fn fmt_fields(&self, node:... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/await_then_clause.rs | crates/biome_html_formatter/src/svelte/auxiliary/await_then_clause.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteAwaitThenClause, SvelteAwaitThenClauseFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteAwaitThenClause;
impl FormatNodeRule<SvelteAwaitThenClause> for FormatSvelteAwaitThenClause {
fn fmt_fields(&self, node: &Sve... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/each_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/each_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteEachBlock, SvelteEachBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteEachBlock;
impl FormatNodeRule<SvelteEachBlock> for FormatSvelteEachBlock {
fn fmt_fields(&self, node: &SvelteEachBlock, f: &mut HtmlForm... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/snippet_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/snippet_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteSnippetBlock, SvelteSnippetBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteSnippetBlock;
impl FormatNodeRule<SvelteSnippetBlock> for FormatSvelteSnippetBlock {
fn fmt_fields(&self, node: &SvelteSnippetBlock... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/attach_attribute.rs | crates/biome_html_formatter/src/svelte/auxiliary/attach_attribute.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteAttachAttribute, SvelteAttachAttributeFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteAttachAttribute;
impl FormatNodeRule<SvelteAttachAttribute> for FormatSvelteAttachAttribute {
fn fmt_fields(&self, node: &Sve... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/if_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/if_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteIfBlock, SvelteIfBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteIfBlock;
impl FormatNodeRule<SvelteIfBlock> for FormatSvelteIfBlock {
fn fmt_fields(&self, node: &SvelteIfBlock, f: &mut HtmlFormatter) -> Fo... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/const_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/const_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteConstBlock, SvelteConstBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteConstBlock;
impl FormatNodeRule<SvelteConstBlock> for FormatSvelteConstBlock {
fn fmt_fields(&self, node: &SvelteConstBlock, f: &mut Ht... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/if_closing_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/if_closing_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteIfClosingBlock, SvelteIfClosingBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteIfClosingBlock;
impl FormatNodeRule<SvelteIfClosingBlock> for FormatSvelteIfClosingBlock {
fn fmt_fields(&self, node: &SvelteI... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/each_key.rs | crates/biome_html_formatter/src/svelte/auxiliary/each_key.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteEachKey, SvelteEachKeyFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteEachKey;
impl FormatNodeRule<SvelteEachKey> for FormatSvelteEachKey {
fn fmt_fields(&self, node: &SvelteEachKey, f: &mut HtmlFormatter) -> Fo... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/mod.rs | crates/biome_html_formatter/src/svelte/auxiliary/mod.rs | //! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file.
pub(crate) mod attach_attribute;
pub(crate) mod await_block;
pub(crate) mod await_catch_block;
pub(crate) mod await_catch_clause;
pub(crate) mod await_closing_block;
pub(crate) mod await_opening_block;
pub(cra... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/snippet_closing_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/snippet_closing_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteSnippetClosingBlock, SvelteSnippetClosingBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteSnippetClosingBlock;
impl FormatNodeRule<SvelteSnippetClosingBlock> for FormatSvelteSnippetClosingBlock {
fn fmt_fiel... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/else_if_clause.rs | crates/biome_html_formatter/src/svelte/auxiliary/else_if_clause.rs | use crate::html::lists::element_list::FormatHtmlElementList;
use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteElseIfClause, SvelteElseIfClauseFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteElseIfClause;
impl FormatNodeRule<SvelteElseIfClause> for FormatSvelteEls... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/key_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/key_block.rs | use crate::html::lists::element_list::FormatHtmlElementList;
use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteKeyBlock, SvelteKeyBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteKeyBlock;
impl FormatNodeRule<SvelteKeyBlock> for FormatSvelteKeyBlock {
fn f... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/key_opening_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/key_opening_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteKeyOpeningBlock, SvelteKeyOpeningBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteKeyOpeningBlock;
impl FormatNodeRule<SvelteKeyOpeningBlock> for FormatSvelteKeyOpeningBlock {
fn fmt_fields(&self, node: &Sv... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/name.rs | crates/biome_html_formatter/src/svelte/auxiliary/name.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteName, SvelteNameFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteName;
impl FormatNodeRule<SvelteName> for FormatSvelteName {
fn fmt_fields(&self, node: &SvelteName, f: &mut HtmlFormatter) -> FormatResult<()> {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/await_closing_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/await_closing_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteAwaitClosingBlock, SvelteAwaitClosingBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteAwaitClosingBlock;
impl FormatNodeRule<SvelteAwaitClosingBlock> for FormatSvelteAwaitClosingBlock {
fn fmt_fields(
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/key_closing_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/key_closing_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteKeyClosingBlock, SvelteKeyClosingBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteKeyClosingBlock;
impl FormatNodeRule<SvelteKeyClosingBlock> for FormatSvelteKeyClosingBlock {
fn fmt_fields(&self, node: &Sv... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/html_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/html_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteHtmlBlock, SvelteHtmlBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteHtmlBlock;
impl FormatNodeRule<SvelteHtmlBlock> for FormatSvelteHtmlBlock {
fn fmt_fields(&self, node: &SvelteHtmlBlock, f: &mut HtmlForm... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/snippet_opening_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/snippet_opening_block.rs | use crate::html::lists::element_list::FormatHtmlElementList;
use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteSnippetOpeningBlock, SvelteSnippetOpeningBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteSnippetOpeningBlock;
impl FormatNodeRule<SvelteSnippetOpeni... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/each_as_keyed_item.rs | crates/biome_html_formatter/src/svelte/auxiliary/each_as_keyed_item.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteEachAsKeyedItem, SvelteEachAsKeyedItemFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteEachAsKeyedItem;
impl FormatNodeRule<SvelteEachAsKeyedItem> for FormatSvelteEachAsKeyedItem {
fn fmt_fields(&self, node: &Sve... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/each_index.rs | crates/biome_html_formatter/src/svelte/auxiliary/each_index.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteEachIndex, SvelteEachIndexFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteEachIndex;
impl FormatNodeRule<SvelteEachIndex> for FormatSvelteEachIndex {
fn fmt_fields(&self, node: &SvelteEachIndex, f: &mut HtmlForm... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/await_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/await_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteAwaitBlock, SvelteAwaitBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteAwaitBlock;
impl FormatNodeRule<SvelteAwaitBlock> for FormatSvelteAwaitBlock {
fn fmt_fields(&self, node: &SvelteAwaitBlock, f: &mut Ht... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/each_keyed_item.rs | crates/biome_html_formatter/src/svelte/auxiliary/each_keyed_item.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteEachKeyedItem, SvelteEachKeyedItemFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteEachKeyedItem;
impl FormatNodeRule<SvelteEachKeyedItem> for FormatSvelteEachKeyedItem {
fn fmt_fields(&self, node: &SvelteEachKey... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/each_closing_block.rs | crates/biome_html_formatter/src/svelte/auxiliary/each_closing_block.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteEachClosingBlock, SvelteEachClosingBlockFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteEachClosingBlock;
impl FormatNodeRule<SvelteEachClosingBlock> for FormatSvelteEachClosingBlock {
fn fmt_fields(&self, node:... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/auxiliary/await_catch_clause.rs | crates/biome_html_formatter/src/svelte/auxiliary/await_catch_clause.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_html_syntax::{SvelteAwaitCatchClause, SvelteAwaitCatchClauseFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatSvelteAwaitCatchClause;
impl FormatNodeRule<SvelteAwaitCatchClause> for FormatSvelteAwaitCatchClause {
fn fmt_fields(&self, node:... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/any/block_item.rs | crates/biome_html_formatter/src/svelte/any/block_item.rs | //! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file.
use crate::prelude::*;
use biome_html_syntax::AnySvelteBlockItem;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnySvelteBlockItem;
impl FormatRule<AnySvelteBlockItem> for FormatAnySvelteBlockItem {... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/any/block.rs | crates/biome_html_formatter/src/svelte/any/block.rs | //! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file.
use crate::prelude::*;
use biome_html_syntax::AnySvelteBlock;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnySvelteBlock;
impl FormatRule<AnySvelteBlock> for FormatAnySvelteBlock {
type Contex... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/any/await_clauses.rs | crates/biome_html_formatter/src/svelte/any/await_clauses.rs | //! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file.
use crate::prelude::*;
use biome_html_syntax::AnySvelteAwaitClauses;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnySvelteAwaitClauses;
impl FormatRule<AnySvelteAwaitClauses> for FormatAnySvelteAw... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/any/mod.rs | crates/biome_html_formatter/src/svelte/any/mod.rs | //! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file.
pub(crate) mod await_clauses;
pub(crate) mod block;
pub(crate) mod block_item;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/tests/quick_test.rs | crates/biome_html_formatter/tests/quick_test.rs | use biome_formatter::{AttributePosition, IndentStyle, LineWidth};
use biome_formatter_test::check_reformat::CheckReformat;
use biome_html_formatter::context::HtmlFormatOptions;
use biome_html_formatter::{HtmlFormatLanguage, format_node};
use biome_html_parser::{HtmlParseOptions, parse_html};
use biome_html_syntax::Html... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/tests/spec_test.rs | crates/biome_html_formatter/tests/spec_test.rs | use biome_configuration::{Configuration, HtmlConfiguration, html::HtmlFormatterConfiguration};
use biome_formatter_test::spec::{SpecSnapshot, SpecTestFile};
use biome_fs::BiomePath;
use biome_html_formatter::{HtmlFormatLanguage, context::HtmlFormatOptions};
use biome_html_syntax::HtmlFileSource;
use biome_service::work... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/tests/prettier_tests.rs | crates/biome_html_formatter/tests/prettier_tests.rs | use biome_formatter::{IndentStyle, IndentWidth};
use biome_formatter_test::test_prettier_snapshot::{PrettierSnapshot, PrettierTestFile};
use biome_html_formatter::context::SelfCloseVoidElements;
use biome_html_formatter::{HtmlFormatLanguage, context::HtmlFormatOptions};
use biome_html_syntax::HtmlFileSource;
use camino... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/tests/spec_tests.rs | crates/biome_html_formatter/tests/spec_tests.rs | mod quick_test;
mod spec_test;
mod formatter {
mod html {
tests_macros::gen_tests! {"tests/specs/html/**/*.{html,vue,svelte,astro}", crate::spec_test::run, ""}
}
}
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/tests/language.rs | crates/biome_html_formatter/tests/language.rs | use biome_formatter_test::TestFormatLanguage;
use biome_fs::BiomePath;
use biome_html_formatter::HtmlFormatLanguage;
use biome_html_formatter::context::HtmlFormatContext;
use biome_html_parser::{HtmlParseOptions, parse_html};
use biome_html_syntax::{HtmlFileSource, HtmlLanguage};
use biome_parser::AnyParse;
use biome_s... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/benches/html_formatter.rs | crates/biome_html_formatter/benches/html_formatter.rs | use biome_formatter::Printed;
use biome_html_formatter::{HtmlFormatOptions, format_node};
use biome_html_parser::{HtmlParseOptions, parse_html};
use biome_html_syntax::{HtmlFileSource, HtmlRoot};
use biome_rowan::AstNode;
use biome_test_utils::BenchCase;
use criterion::{BenchmarkId, Criterion, Throughput, black_box, cr... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_plugin_loader/src/analyzer_grit_plugin.rs | crates/biome_plugin_loader/src/analyzer_grit_plugin.rs | use crate::{AnalyzerPlugin, PluginDiagnostic};
use biome_analyze::{PluginTargetLanguage, RuleDiagnostic};
use biome_console::markup;
use biome_css_syntax::{CssRoot, CssSyntaxNode};
use biome_diagnostics::{Severity, category};
use biome_fs::FileSystem;
use biome_grit_patterns::{
BuiltInFunction, CompilePatternOption... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_plugin_loader/src/plugin_cache.rs | crates/biome_plugin_loader/src/plugin_cache.rs | use biome_analyze::AnalyzerPluginVec;
use camino::Utf8PathBuf;
use papaya::HashMap;
use rustc_hash::{FxBuildHasher, FxHashSet};
use crate::configuration::{PluginConfiguration, Plugins};
use crate::{BiomePlugin, PluginDiagnostic};
/// Cache for storing loaded plugins in memory.
///
/// Plugins are kept in a map from p... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_plugin_loader/src/diagnostics.rs | crates/biome_plugin_loader/src/diagnostics.rs | use std::fmt::{Debug, Formatter};
use camino::Utf8PathBuf;
use serde::{Deserialize, Serialize};
use biome_console::fmt::Display;
use biome_console::markup;
use biome_deserialize::DeserializationDiagnostic;
use biome_diagnostics::{Diagnostic, Error, MessageAndDescription};
use biome_fs::FileSystemDiagnostic;
use biome... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_plugin_loader/src/lib.rs | crates/biome_plugin_loader/src/lib.rs | #![deny(clippy::use_self)]
mod analyzer_grit_plugin;
mod diagnostics;
mod plugin_cache;
mod plugin_manifest;
#[cfg(feature = "js_plugin")]
mod analyzer_js_plugin;
#[cfg(feature = "js_plugin")]
mod thread_local;
mod configuration;
#[cfg(feature = "js_plugin")]
pub use analyzer_js_plugin::AnalyzerJsPlugin;
pub use a... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_plugin_loader/src/configuration.rs | crates/biome_plugin_loader/src/configuration.rs | use biome_deserialize::{
Deserializable, DeserializableType, DeserializableValue, DeserializationContext,
};
use biome_deserialize_macros::{Deserializable, Merge};
use biome_fs::normalize_path;
use camino::Utf8Path;
use serde::{Deserialize, Serialize};
use std::{
ops::{Deref, DerefMut},
str::FromStr,
};
#[... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_plugin_loader/src/analyzer_js_plugin.rs | crates/biome_plugin_loader/src/analyzer_js_plugin.rs | use std::fmt::{Debug, Formatter};
use std::ops::DerefMut;
use std::sync::Arc;
use boa_engine::object::builtins::JsFunction;
use boa_engine::{JsNativeError, JsResult, JsString, JsValue};
use camino::{Utf8Path, Utf8PathBuf};
use biome_analyze::{AnalyzerPlugin, PluginTargetLanguage, RuleDiagnostic};
use biome_console::m... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_plugin_loader/src/plugin_manifest.rs | crates/biome_plugin_loader/src/plugin_manifest.rs | use biome_console::markup;
use biome_deserialize::{DeserializationContext, DeserializationDiagnostic};
use biome_deserialize_macros::Deserializable;
use biome_rowan::TextRange;
use std::path::PathBuf;
#[derive(Clone, Debug, Default, Deserializable, Eq, PartialEq)]
pub struct PluginManifest {
#[deserializable(requ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_plugin_loader/src/thread_local.rs | crates/biome_plugin_loader/src/thread_local.rs | use std::cell::{RefCell, RefMut};
#[cfg(windows)]
mod platform {
use std::ffi::c_void;
use std::marker::PhantomData;
use windows::Win32::System::Threading as win32;
pub(super) struct Key<T> {
inner: u32,
_phantom: PhantomData<fn() -> T>,
}
impl<T> Key<T> {
pub(super) u... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_test_utils/src/lib.rs | crates/biome_test_utils/src/lib.rs | #![deny(clippy::use_self)]
use std::ffi::c_int;
use std::fmt::Write;
use std::sync::{Arc, Once};
use biome_analyze::options::{JsxRuntime, PreferredQuote};
use biome_analyze::{AnalyzerAction, AnalyzerConfiguration, AnalyzerOptions};
use biome_configuration::{Configuration, ConfigurationPathHint};
use biome_console::fm... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_test_utils/src/bench_case.rs | crates/biome_test_utils/src/bench_case.rs | use ansi_rgb::{Foreground, red};
use camino::{Utf8Path, Utf8PathBuf};
use std::env;
use std::hash::{DefaultHasher, Hash, Hasher};
use std::path::PathBuf;
use std::str::FromStr;
#[derive(Hash)]
pub struct BenchCase {
code: String,
id: String,
path: Utf8PathBuf,
}
fn calculate_hash<T: Hash>(t: &T) -> u64 {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_jsdoc_comment/src/lib.rs | crates/biome_jsdoc_comment/src/lib.rs | #![deny(clippy::use_self)]
mod format_jsdoc_comment;
mod jsdoc_comment;
pub use jsdoc_comment::JsdocComment;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_jsdoc_comment/src/format_jsdoc_comment.rs | crates/biome_jsdoc_comment/src/format_jsdoc_comment.rs | use crate::JsdocComment;
use biome_formatter::prelude::*;
use biome_formatter::{format_args, write};
use biome_js_type_info::FormatTypeContext;
use biome_rowan::TextSize;
use std::ops::Deref;
impl Format<FormatTypeContext> for JsdocComment {
fn fmt(
&self,
f: &mut biome_formatter::formatter::Format... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_jsdoc_comment/src/jsdoc_comment.rs | crates/biome_jsdoc_comment/src/jsdoc_comment.rs | use std::ops::Deref;
use biome_js_syntax::{JsSyntaxNode, JsSyntaxToken};
use biome_rowan::TriviaPieceKind;
/// Represents a normalised JSDoc comment.
///
/// Comments are trimmed and normalised to remove the trivia of the comment.
///
/// ## Example
///
/// Assuming the following JSDoc comment:
///
/// ```ts
/// /**
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_glob/src/lib.rs | crates/biome_glob/src/lib.rs | //! `biome_glob` provides globbing functionality. When listing the globs to match,
//! it is also possible to provide globs that function as "exceptions" by prefixing the globs with `!`.
//!
//! A glob is primarily used to select or filter a set of file paths by matching every file paths against the glob.
//! A file pa... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_glob/src/editorconfig.rs | crates/biome_glob/src/editorconfig.rs | //! `biome_glob::editorconfig` provides globbing functionality that follows:
//!
//! - the [`.editorconfig` specification](https://editorconfig.org/#wildcards), and
//! - the [relative test suite](https://github.com/editorconfig/editorconfig-core-test/tree/master/glob).
//!
//! The current implementation has some limit... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_factory/src/lib.rs | crates/biome_graphql_factory/src/lib.rs | #![deny(clippy::use_self)]
use biome_graphql_syntax::GraphqlLanguage;
use biome_rowan::TreeBuilder;
mod generated;
pub mod make;
pub use crate::generated::GraphqlSyntaxFactory;
// Re-exported for tests
#[doc(hidden)]
pub use biome_graphql_syntax as syntax;
pub type GritSyntaxTreeBuilder = TreeBuilder<'static, Graph... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_factory/src/make.rs | crates/biome_graphql_factory/src/make.rs | pub use crate::generated::node_factory::*;
use biome_graphql_syntax::{GraphqlSyntaxKind, GraphqlSyntaxToken};
/// Create a new literal name token with no attached trivia
pub fn ident(text: &str) -> GraphqlSyntaxToken {
GraphqlSyntaxToken::new_detached(GraphqlSyntaxKind::IDENT, text, [], [])
}
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_factory/src/generated.rs | crates/biome_graphql_factory/src/generated.rs | #[rustfmt::skip]
pub(super) mod syntax_factory;
#[rustfmt::skip]
pub(crate) mod node_factory;
pub use syntax_factory::GraphqlSyntaxFactory;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_factory/src/generated/syntax_factory.rs | crates/biome_graphql_factory/src/generated/syntax_factory.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
#![allow(unused_mut)]
use biome_graphql_syntax::{GraphqlSyntaxKind, GraphqlSyntaxKind::*, T, *};
use biome_rowan::{
AstNode, ParsedChildren, RawNodeSlots, RawSyntaxNode, SyntaxFactory, SyntaxKind,
};
#[derive(Debug)]
pub struct GraphqlSyntaxFactory;
impl... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_factory/src/generated/node_factory.rs | crates/biome_graphql_factory/src/generated/node_factory.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
#![allow(clippy::redundant_closure)]
use biome_graphql_syntax::{
GraphqlSyntaxElement as SyntaxElement, GraphqlSyntaxNode as SyntaxNode,
GraphqlSyntaxToken as SyntaxToken, *,
};
use biome_rowan::AstNode;
pub fn graphql_alias(value: GraphqlLiteralName... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_markdown_factory/src/lib.rs | crates/biome_markdown_factory/src/lib.rs | #![deny(clippy::use_self)]
use biome_markdown_syntax::MarkdownLanguage;
use biome_rowan::TreeBuilder;
mod generated;
pub use crate::generated::MarkdownSyntaxFactory;
// Re-exported for tests
#[doc(hidden)]
pub use biome_markdown_syntax as syntax;
pub type DemoSyntaxTreeBuilder = TreeBuilder<'static, MarkdownLanguag... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_markdown_factory/src/make.rs | crates/biome_markdown_factory/src/make.rs | pub use crate::generated::node_factory::*;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_markdown_factory/src/generated.rs | crates/biome_markdown_factory/src/generated.rs | #[rustfmt::skip]
pub(super) mod syntax_factory;
#[rustfmt::skip]
pub mod node_factory;
pub use syntax_factory::MarkdownSyntaxFactory;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_markdown_factory/src/generated/syntax_factory.rs | crates/biome_markdown_factory/src/generated/syntax_factory.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
#![allow(unused_mut)]
use biome_markdown_syntax::{MarkdownSyntaxKind, MarkdownSyntaxKind::*, T, *};
use biome_rowan::{
AstNode, ParsedChildren, RawNodeSlots, RawSyntaxNode, SyntaxFactory, SyntaxKind,
};
#[derive(Debug)]
pub struct MarkdownSyntaxFactory;
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_markdown_factory/src/generated/node_factory.rs | crates/biome_markdown_factory/src/generated/node_factory.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
#![allow(clippy::redundant_closure)]
use biome_markdown_syntax::{
MarkdownSyntaxElement as SyntaxElement, MarkdownSyntaxNode as SyntaxNode,
MarkdownSyntaxToken as SyntaxToken, *,
};
use biome_rowan::AstNode;
pub fn md_bullet(
bullet_token: Syntax... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/lib.rs | crates/biome_graphql_semantic/src/lib.rs | #![deny(clippy::use_self)]
mod events;
mod semantic_model;
pub use events::*;
pub use semantic_model::*;
#[cfg(test)]
mod tests;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/events.rs | crates/biome_graphql_semantic/src/events.rs | //! Events emitted by the [SemanticEventExtractor] which are then constructed into the Semantic Model
use GraphqlSyntaxKind::*;
use biome_graphql_syntax::{
AnyGraphqlTypeDefinition, AnyGraphqlTypeExtension, GraphqlFragmentDefinition,
GraphqlNameBinding, GraphqlNameReference, GraphqlOperationDefinition, Graphql... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/tests/object.rs | crates/biome_graphql_semantic/src/tests/object.rs | use biome_graphql_parser::parse_graphql;
use biome_graphql_syntax::GraphqlObjectTypeDefinition;
use biome_graphql_syntax::GraphqlObjectTypeExtension;
use biome_graphql_syntax::GraphqlTypeCondition;
use biome_rowan::AstNode;
use crate::HasDeclarationAstNode;
use crate::semantic_model;
use super::assert_nodes_eq;
use s... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/tests/union.rs | crates/biome_graphql_semantic/src/tests/union.rs | use biome_graphql_parser::parse_graphql;
use biome_graphql_syntax::GraphqlFieldDefinition;
use biome_graphql_syntax::GraphqlNameReference;
use biome_graphql_syntax::GraphqlObjectTypeDefinition;
use biome_graphql_syntax::GraphqlUnionTypeDefinition;
use biome_graphql_syntax::GraphqlUnionTypeExtension;
use biome_rowan::As... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/tests/interface.rs | crates/biome_graphql_semantic/src/tests/interface.rs | use biome_graphql_parser::parse_graphql;
use biome_graphql_syntax::GraphqlImplementsInterfaces;
use biome_graphql_syntax::GraphqlInterfaceTypeDefinition;
use biome_graphql_syntax::GraphqlInterfaceTypeExtension;
use biome_graphql_syntax::GraphqlObjectTypeDefinition;
use biome_graphql_syntax::GraphqlTypeCondition;
use bi... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/tests/fragment.rs | crates/biome_graphql_semantic/src/tests/fragment.rs | use biome_graphql_parser::parse_graphql;
use biome_graphql_syntax::GraphqlFragmentDefinition;
use biome_graphql_syntax::GraphqlFragmentSpread;
use crate::HasDeclarationAstNode;
use crate::IsBindingAstNode;
use crate::semantic_model;
use super::assert_nodes_eq;
use super::extract_node;
#[test]
fn ok_fragment_spread()... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/tests/directive.rs | crates/biome_graphql_semantic/src/tests/directive.rs | use biome_graphql_parser::parse_graphql;
use biome_graphql_syntax::GraphqlDirective;
use biome_graphql_syntax::GraphqlDirectiveDefinition;
use crate::HasDeclarationAstNode;
use crate::IsBindingAstNode;
use crate::semantic_model;
use super::assert_nodes_eq;
use super::extract_node;
#[test]
fn ok_directive_reference()... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/tests/scalar.rs | crates/biome_graphql_semantic/src/tests/scalar.rs | use biome_graphql_parser::parse_graphql;
use biome_graphql_syntax::GraphqlScalarTypeDefinition;
use biome_graphql_syntax::GraphqlScalarTypeExtension;
use crate::HasDeclarationAstNode;
use crate::semantic_model;
use super::assert_nodes_eq;
use super::extract_node;
use super::extract_nodes;
#[test]
fn ok_scalar_extens... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/tests/mod.rs | crates/biome_graphql_semantic/src/tests/mod.rs | mod directive;
mod r#enum;
mod fragment;
mod interface;
mod object;
mod operation;
mod scalar;
mod union;
use biome_graphql_parser::GraphqlParse;
use biome_graphql_syntax::GraphqlLanguage;
use biome_graphql_syntax::GraphqlNameReference;
use biome_rowan::AstNode;
use biome_rowan::SyntaxNodeCast;
use crate::Binding;
us... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/tests/enum.rs | crates/biome_graphql_semantic/src/tests/enum.rs | use biome_graphql_parser::parse_graphql;
use biome_graphql_syntax::GraphqlEnumTypeDefinition;
use biome_graphql_syntax::GraphqlEnumTypeExtension;
use biome_graphql_syntax::GraphqlFieldDefinition;
use biome_graphql_syntax::GraphqlNameReference;
use biome_rowan::AstNode;
use biome_rowan::SyntaxNodeCast;
use crate::HasDe... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/tests/operation.rs | crates/biome_graphql_semantic/src/tests/operation.rs | use biome_graphql_parser::parse_graphql;
use biome_graphql_syntax::GraphqlArgument;
use biome_graphql_syntax::GraphqlOperationDefinition;
use biome_graphql_syntax::GraphqlVariableBinding;
use biome_graphql_syntax::GraphqlVariableDefinition;
use biome_graphql_syntax::GraphqlVariableReference;
use crate::HasDeclarationA... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/semantic_model/reference.rs | crates/biome_graphql_semantic/src/semantic_model/reference.rs | use std::rc::Rc;
use biome_graphql_syntax::{
AnyGraphqlTypeDefinition, GraphqlDirective, GraphqlDirectiveDefinition,
GraphqlEnumTypeDefinition, GraphqlEnumTypeExtension, GraphqlFragmentDefinition,
GraphqlFragmentSpread, GraphqlInterfaceTypeDefinition, GraphqlInterfaceTypeExtension,
GraphqlNameBinding, ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/semantic_model/builder.rs | crates/biome_graphql_semantic/src/semantic_model/builder.rs | use biome_graphql_syntax::{GraphqlRoot, GraphqlSyntaxKind, GraphqlSyntaxNode};
use biome_rowan::{TextRange, TextSize};
use rustc_hash::FxHashMap;
use crate::{SemanticEvent, SemanticModelReference, SemanticModelUnresolvedVariableReference};
use super::{
binding::SemanticModelBinding,
model::{SemanticModel, Sem... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/semantic_model/model.rs | crates/biome_graphql_semantic/src/semantic_model/model.rs | use std::rc::Rc;
use biome_graphql_syntax::{
GraphqlNameBinding, GraphqlNameReference, GraphqlRoot, GraphqlSyntaxNode,
GraphqlVariableReference,
};
use biome_rowan::{AstNode, TextRange, TextSize};
use rustc_hash::FxHashMap;
use crate::{
Reference, SemanticModelReference, SemanticModelUnresolvedVariableRef... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/semantic_model/mod.rs | crates/biome_graphql_semantic/src/semantic_model/mod.rs | mod binding;
mod builder;
mod model;
mod reference;
use biome_graphql_syntax::GraphqlRoot;
use biome_rowan::AstNode;
pub use binding::*;
pub use builder::*;
pub use model::*;
pub use reference::*;
use crate::SemanticEventExtractor;
/// Build the complete [SemanticModel] of a parsed file.
/// For a push based model ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_semantic/src/semantic_model/binding.rs | crates/biome_graphql_semantic/src/semantic_model/binding.rs | use std::rc::Rc;
use biome_graphql_syntax::{
GraphqlDirective, GraphqlDirectiveDefinition, GraphqlFragmentDefinition, GraphqlFragmentSpread,
GraphqlNameBinding, GraphqlNameReference, GraphqlSyntaxNode,
};
use biome_rowan::{AstNode, SyntaxNodeCast, TextRange};
use crate::SemanticModel;
use super::{
model:... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_configuration_macros/src/lib.rs | crates/biome_configuration_macros/src/lib.rs | use biome_analyze::RuleCategory;
use proc_macro::TokenStream;
use quote::quote;
mod group_struct;
mod visitors;
use crate::group_struct::generate_group_struct;
use crate::visitors::{AssistActionsVisitor, LintRulesVisitor};
#[proc_macro]
pub fn lint_group_structs(_input: TokenStream) -> TokenStream {
let input_li... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_configuration_macros/src/visitors.rs | crates/biome_configuration_macros/src/visitors.rs | use std::collections::{BTreeMap, BTreeSet};
use biome_analyze::{
GroupCategory, Queryable, RegistryVisitor, Rule, RuleCategory, RuleGroup, RuleMetadata,
};
use biome_css_syntax::CssLanguage;
use biome_graphql_syntax::GraphqlLanguage;
use biome_html_syntax::HtmlLanguage;
use biome_js_syntax::JsLanguage;
use biome_j... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_configuration_macros/src/group_struct.rs | crates/biome_configuration_macros/src/group_struct.rs | use std::collections::BTreeMap;
use biome_analyze::{FixKind, RuleCategory, RuleMetadata};
use biome_string_case::Case;
use proc_macro2::{Ident, Literal, Span, TokenStream};
use pulldown_cmark::{Event, Parser, Tag, TagEnd};
use quote::quote;
use crate::to_capitalized;
pub fn generate_group_struct(
group: &str,
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_syntax/src/lib.rs | crates/biome_grit_syntax/src/lib.rs | //! A crate for generated Syntax node definitions and utility macros.
//! Both rome_grit_lexer and biome_grit_parser rely on these definitions, therefore
//! they are wrapped in this crate to prevent cyclic dependencies
#![deny(clippy::use_self)]
#[macro_use]
mod generated;
pub mod file_source;
mod syntax_ext;
mod sy... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_syntax/src/syntax_node.rs | crates/biome_grit_syntax/src/syntax_node.rs | //! This module defines the Concrete Syntax Tree for Grit used by Biome.
//!
//! The tree is entirely lossless, whitespace, comments, and errors are preserved.
//! It also provides traversal methods including parent, children, and siblings of nodes.
//!
//! This is a simple wrapper around the `rowan` crate which does m... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_syntax/src/file_source.rs | crates/biome_grit_syntax/src/file_source.rs | use biome_rowan::FileSourceError;
use biome_string_case::StrLikeExtension;
use camino::Utf8Path;
#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
#[derive(
Debug, Clone, Default, Copy, Eq, PartialEq, Hash, serde::Serialize, serde::Deserialize,
)]
pub struct GritFileSource {
variant: GritVariant,
}... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_syntax/src/syntax_ext.rs | crates/biome_grit_syntax/src/syntax_ext.rs | use crate::{AnyGritPattern, GritRoot};
use biome_rowan::AstNode;
pub trait GritRootExt {
fn pattern(&self) -> Option<AnyGritPattern>;
}
impl GritRootExt for GritRoot {
fn pattern(&self) -> Option<AnyGritPattern> {
self.definitions()
.into_iter()
.find_map(|definition| AnyGritPa... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_syntax/src/generated.rs | crates/biome_grit_syntax/src/generated.rs | #[rustfmt::skip]
pub(super) mod nodes;
#[rustfmt::skip]
pub(super) mod nodes_mut;
#[rustfmt::skip]
pub mod macros;
#[macro_use]
pub mod kind;
pub use kind::*;
pub use nodes::*;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_syntax/src/generated/nodes_mut.rs | crates/biome_grit_syntax/src/generated/nodes_mut.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
use crate::{GritSyntaxToken as SyntaxToken, generated::nodes::*};
use biome_rowan::AstNode;
use std::iter::once;
impl GritAddOperation {
pub fn with_left(self, element: AnyGritPattern) -> Self {
Self::unwrap_cast(
self.syntax
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_syntax/src/generated/kind.rs | crates/biome_grit_syntax/src/generated/kind.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
#![allow(bad_style, missing_docs, unreachable_pub)]
#[doc = r" The kind of syntax node, e.g. `IDENT`, `FUNCTION_KW`, or `FOR_STMT`."]
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
#[repr(u16)]
pub enum GritSyntaxKind {
#[doc(hidden)... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_syntax/src/generated/macros.rs | crates/biome_grit_syntax/src/generated/macros.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
#[doc = r" Reconstruct an AstNode from a SyntaxNode"]
#[doc = r""]
#[doc = r" This macros performs a match over the [kind](biome_rowan::SyntaxNode::kind)"]
#[doc = r" of the provided [biome_rowan::SyntaxNode] and constructs the appropriate"]
#[doc = r" AstNo... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_syntax/src/generated/nodes.rs | crates/biome_grit_syntax/src/generated/nodes.rs | //! Generated file, do not edit by hand, see `xtask/codegen`
#![allow(dead_code)]
#![allow(unused)]
use crate::{
GritLanguage as Language, GritSyntaxElement as SyntaxElement,
GritSyntaxElementChildren as SyntaxElementChildren,
GritSyntaxKind::{self as SyntaxKind, *},
GritSyntaxList as SyntaxList, GritS... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_control_flow/src/builder.rs | crates/biome_control_flow/src/builder.rs | use biome_rowan::{Language, SyntaxElement, SyntaxNode};
use crate::{
BasicBlock, ControlFlowGraph, ExceptionHandler, ExceptionHandlerKind, Instruction,
InstructionKind,
};
/// Identifier for a block in a [ControlFlowGraph]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub struct BlockId {
pub(crate) ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_control_flow/src/lib.rs | crates/biome_control_flow/src/lib.rs | #![deny(clippy::use_self)]
#![deny(rustdoc::broken_intra_doc_links)]
use std::fmt::{self, Display, Formatter};
use biome_rowan::{Language, SyntaxElement, SyntaxNode};
use rustc_hash::FxHashMap;
pub mod builder;
use crate::builder::BlockId;
/// The [ControlFlowGraph] is an auxiliary data structure to the syntax tre... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_deserialize_macros/src/lib.rs | crates/biome_deserialize_macros/src/lib.rs | #![deny(clippy::use_self)]
mod deserializable_derive;
mod merge_derive;
mod util;
use proc_macro::TokenStream;
use proc_macro_error2::*;
use syn::{DeriveInput, parse_macro_input};
/// Derives the [biome_deserialize::Deserializable] trait for a custom enum or
/// struct.
///
/// It supports implementing the trait for... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_deserialize_macros/src/merge_derive.rs | crates/biome_deserialize_macros/src/merge_derive.rs | use proc_macro_error2::*;
use proc_macro2::{Ident, TokenStream};
use quote::quote;
use syn::{Data, Fields};
pub enum MergeableData {
Enum,
Newtype,
Struct(Fields),
}
pub(crate) struct DeriveInput {
pub ident: Ident,
pub data: MergeableData,
}
impl DeriveInput {
pub fn parse(input: syn::Derive... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_deserialize_macros/src/util.rs | crates/biome_deserialize_macros/src/util.rs | use syn::{Error, Meta, MetaList, NestedMeta, spanned::Spanned};
pub(crate) fn parse_meta_list(
meta: &Meta,
mut consume: impl FnMut(&Meta) -> Result<(), Error>,
) -> Result<(), Error> {
let Meta::List(MetaList { nested, .. }) = meta else {
return Err(Error::new(meta.span(), "A list of attribute is ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.