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_css_formatter/src/css/any/simple_selector.rs | crates/biome_css_formatter/src/css/any/simple_selector.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_css_syntax::AnyCssSimpleSelector;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssSimpleSelector;
impl FormatRule<AnyCssSimpleSelector> for FormatAnyCssSimpleSel... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/query_feature.rs | crates/biome_css_formatter/src/css/any/query_feature.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_css_syntax::AnyCssQueryFeature;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssQueryFeature;
impl FormatRule<AnyCssQueryFeature> for FormatAnyCssQueryFeature {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/if_test_boolean_or_combinable_expr.rs | crates/biome_css_formatter/src/css/any/if_test_boolean_or_combinable_expr.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_css_syntax::AnyCssIfTestBooleanOrCombinableExpr;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssIfTestBooleanOrCombinableExpr;
impl FormatRule<AnyCssIfTestBoole... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/font_feature_values_block.rs | crates/biome_css_formatter/src/css/any/font_feature_values_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_css_syntax::AnyCssFontFeatureValuesBlock;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssFontFeatureValuesBlock;
impl FormatRule<AnyCssFontFeatureValuesBlock> f... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/pseudo_value.rs | crates/biome_css_formatter/src/css/any/pseudo_value.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_css_syntax::AnyCssPseudoValue;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssPseudoValue;
impl FormatRule<AnyCssPseudoValue> for FormatAnyCssPseudoValue {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/if_media_test_query.rs | crates/biome_css_formatter/src/css/any/if_media_test_query.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_css_syntax::AnyCssIfMediaTestQuery;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssIfMediaTestQuery;
impl FormatRule<AnyCssIfMediaTestQuery> for FormatAnyCssIfM... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/media_in_parens.rs | crates/biome_css_formatter/src/css/any/media_in_parens.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_css_syntax::AnyCssMediaInParens;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssMediaInParens;
impl FormatRule<AnyCssMediaInParens> for FormatAnyCssMediaInParen... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/unicode_value.rs | crates/biome_css_formatter/src/css/any/unicode_value.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_css_syntax::AnyCssUnicodeValue;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssUnicodeValue;
impl FormatRule<AnyCssUnicodeValue> for FormatAnyCssUnicodeValue {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/if_test_boolean_expr_group.rs | crates/biome_css_formatter/src/css/any/if_test_boolean_expr_group.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_css_syntax::AnyCssIfTestBooleanExprGroup;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssIfTestBooleanExprGroup;
impl FormatRule<AnyCssIfTestBooleanExprGroup> f... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/document_matcher.rs | crates/biome_css_formatter/src/css/any/document_matcher.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_css_syntax::AnyCssDocumentMatcher;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssDocumentMatcher;
impl FormatRule<AnyCssDocumentMatcher> for FormatAnyCssDocume... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/declaration_or_rule_block.rs | crates/biome_css_formatter/src/css/any/declaration_or_rule_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_css_syntax::AnyCssDeclarationOrRuleBlock;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssDeclarationOrRuleBlock;
impl FormatRule<AnyCssDeclarationOrRuleBlock> f... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/url_value.rs | crates/biome_css_formatter/src/css/any/url_value.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_css_syntax::AnyCssUrlValue;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssUrlValue;
impl FormatRule<AnyCssUrlValue> for FormatAnyCssUrlValue {
type Context... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/css/any/declaration_name.rs | crates/biome_css_formatter/src/css/any/declaration_name.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_css_syntax::AnyCssDeclarationName;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyCssDeclarationName;
impl FormatRule<AnyCssDeclarationName> for FormatAnyCssDeclar... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/utils/component_value_list.rs | crates/biome_css_formatter/src/utils/component_value_list.rs | use crate::CssFormatter;
use crate::comments::CssComments;
use crate::prelude::*;
use biome_css_syntax::{CssGenericDelimiter, CssGenericProperty, CssLanguage, CssSyntaxKind};
use biome_formatter::{CstFormatContext, format_args, write};
use biome_formatter::{FormatOptions, FormatResult};
use biome_rowan::{AstNode, AstNo... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/utils/mod.rs | crates/biome_css_formatter/src/utils/mod.rs | pub(crate) mod block_like;
pub(crate) mod component_value_list;
pub(crate) mod string_utils;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/utils/block_like.rs | crates/biome_css_formatter/src/utils/block_like.rs | use crate::prelude::*;
use biome_formatter::{CstFormatContext, Format, FormatResult};
use crate::CssFormatter;
use biome_css_syntax::stmt_ext::CssBlockLike;
use biome_formatter::write;
#[derive(Debug, Copy, Clone)]
pub(crate) struct FormatCssBlockLike<'a> {
block: &'a CssBlockLike,
}
impl<'a> FormatCssBlockLike<... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/utils/string_utils.rs | crates/biome_css_formatter/src/utils/string_utils.rs | use std::borrow::Cow;
use crate::context::CssFormatOptions;
use crate::prelude::*;
use biome_css_syntax::CssLanguage;
use biome_css_syntax::CssSyntaxKind::{CSS_STRING_LITERAL, CSS_URL_VALUE_RAW_LITERAL, IDENT};
use biome_css_syntax::CssSyntaxToken;
use biome_formatter::QuoteStyle;
use biome_formatter::token::string::n... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/mod.rs | crates/biome_css_formatter/src/tailwind/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 any;
pub(crate) mod auxiliary;
pub(crate) mod lists;
pub(crate) mod statements;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/config_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/config_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwConfigAtRule, TwConfigAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwConfigAtRule;
impl FormatNodeRule<TwConfigAtRule> for FormatTwConfigAtRule {
fn fmt_fields(&self, node: &TwConfigAtRule, f: &mut CssFormatter) ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/slot_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/slot_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwSlotAtRule, TwSlotAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwSlotAtRule;
impl FormatNodeRule<TwSlotAtRule> for FormatTwSlotAtRule {
fn fmt_fields(&self, node: &TwSlotAtRule, f: &mut CssFormatter) -> FormatRes... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/source_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/source_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwSourceAtRule, TwSourceAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwSourceAtRule;
impl FormatNodeRule<TwSourceAtRule> for FormatTwSourceAtRule {
fn fmt_fields(&self, node: &TwSourceAtRule, f: &mut CssFormatter) -... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/apply_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/apply_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwApplyAtRule, TwApplyAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwApplyAtRule;
impl FormatNodeRule<TwApplyAtRule> for FormatTwApplyAtRule {
fn fmt_fields(&self, node: &TwApplyAtRule, f: &mut CssFormatter) -> For... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/mod.rs | crates/biome_css_formatter/src/tailwind/statements/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 apply_at_rule;
pub(crate) mod config_at_rule;
pub(crate) mod custom_variant_at_rule;
pub(crate) mod plugin_at_rule;
pub(crate) mod reference_at_rule;
pub(crate) mod slot_at_rule;
pub(crate) mod ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/plugin_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/plugin_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwPluginAtRule, TwPluginAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwPluginAtRule;
impl FormatNodeRule<TwPluginAtRule> for FormatTwPluginAtRule {
fn fmt_fields(&self, node: &TwPluginAtRule, f: &mut CssFormatter) ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/utility_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/utility_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwUtilityAtRule, TwUtilityAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwUtilityAtRule;
impl FormatNodeRule<TwUtilityAtRule> for FormatTwUtilityAtRule {
fn fmt_fields(&self, node: &TwUtilityAtRule, f: &mut CssForma... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/variant_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/variant_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwVariantAtRule, TwVariantAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwVariantAtRule;
impl FormatNodeRule<TwVariantAtRule> for FormatTwVariantAtRule {
fn fmt_fields(&self, node: &TwVariantAtRule, f: &mut CssForma... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/custom_variant_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/custom_variant_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwCustomVariantAtRule, TwCustomVariantAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwCustomVariantAtRule;
impl FormatNodeRule<TwCustomVariantAtRule> for FormatTwCustomVariantAtRule {
fn fmt_fields(&self, node: &TwC... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/theme_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/theme_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwThemeAtRule, TwThemeAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwThemeAtRule;
impl FormatNodeRule<TwThemeAtRule> for FormatTwThemeAtRule {
fn fmt_fields(&self, node: &TwThemeAtRule, f: &mut CssFormatter) -> For... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/statements/reference_at_rule.rs | crates/biome_css_formatter/src/tailwind/statements/reference_at_rule.rs | use crate::prelude::*;
use biome_css_syntax::{TwReferenceAtRule, TwReferenceAtRuleFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwReferenceAtRule;
impl FormatNodeRule<TwReferenceAtRule> for FormatTwReferenceAtRule {
fn fmt_fields(&self, node: &TwReferenceAtRule, f: &... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/lists/apply_class_list.rs | crates/biome_css_formatter/src/tailwind/lists/apply_class_list.rs | use crate::prelude::*;
use biome_css_syntax::TwApplyClassList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwApplyClassList;
impl FormatRule<TwApplyClassList> for FormatTwApplyClassList {
type Context = CssFormatContext;
fn fmt(&self, node: &TwApplyClassList, f: &mut CssFormatter) -> FormatResult<(... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/lists/mod.rs | crates/biome_css_formatter/src/tailwind/lists/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 apply_class_list;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/auxiliary/value_theme_reference.rs | crates/biome_css_formatter/src/tailwind/auxiliary/value_theme_reference.rs | use crate::prelude::*;
use biome_css_syntax::{TwValueThemeReference, TwValueThemeReferenceFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwValueThemeReference;
impl FormatNodeRule<TwValueThemeReference> for FormatTwValueThemeReference {
fn fmt_fields(&self, node: &TwVa... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/auxiliary/mod.rs | crates/biome_css_formatter/src/tailwind/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 custom_variant_shorthand;
pub(crate) mod functional_utility_name;
pub(crate) mod source_inline;
pub(crate) mod value_theme_reference;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/auxiliary/custom_variant_shorthand.rs | crates/biome_css_formatter/src/tailwind/auxiliary/custom_variant_shorthand.rs | use crate::prelude::*;
use biome_css_syntax::{TwCustomVariantShorthand, TwCustomVariantShorthandFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwCustomVariantShorthand;
impl FormatNodeRule<TwCustomVariantShorthand> for FormatTwCustomVariantShorthand {
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_css_formatter/src/tailwind/auxiliary/functional_utility_name.rs | crates/biome_css_formatter/src/tailwind/auxiliary/functional_utility_name.rs | use crate::prelude::*;
use biome_css_syntax::{TwFunctionalUtilityName, TwFunctionalUtilityNameFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwFunctionalUtilityName;
impl FormatNodeRule<TwFunctionalUtilityName> for FormatTwFunctionalUtilityName {
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_css_formatter/src/tailwind/auxiliary/source_inline.rs | crates/biome_css_formatter/src/tailwind/auxiliary/source_inline.rs | use crate::prelude::*;
use biome_css_syntax::{TwSourceInline, TwSourceInlineFields};
use biome_formatter::write;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatTwSourceInline;
impl FormatNodeRule<TwSourceInline> for FormatTwSourceInline {
fn fmt_fields(&self, node: &TwSourceInline, f: &mut CssFormatter) ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/any/custom_variant_selector.rs | crates/biome_css_formatter/src/tailwind/any/custom_variant_selector.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_css_syntax::AnyTwCustomVariantSelector;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyTwCustomVariantSelector;
impl FormatRule<AnyTwCustomVariantSelector> 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_css_formatter/src/tailwind/any/source.rs | crates/biome_css_formatter/src/tailwind/any/source.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_css_syntax::AnyTwSource;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyTwSource;
impl FormatRule<AnyTwSource> for FormatAnyTwSource {
type Context = CssFormat... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/any/mod.rs | crates/biome_css_formatter/src/tailwind/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 custom_variant_selector;
pub(crate) mod custom_variant_shorthand;
pub(crate) mod source;
pub(crate) mod utility_name;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/any/custom_variant_shorthand.rs | crates/biome_css_formatter/src/tailwind/any/custom_variant_shorthand.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_css_syntax::AnyTwCustomVariantShorthand;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyTwCustomVariantShorthand;
impl FormatRule<AnyTwCustomVariantShorthand> for ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/src/tailwind/any/utility_name.rs | crates/biome_css_formatter/src/tailwind/any/utility_name.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_css_syntax::AnyTwUtilityName;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyTwUtilityName;
impl FormatRule<AnyTwUtilityName> for FormatAnyTwUtilityName {
type... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/tests/quick_test.rs | crates/biome_css_formatter/tests/quick_test.rs | use biome_css_formatter::format_node;
use biome_css_formatter::{CssFormatLanguage, context::CssFormatOptions};
use biome_css_parser::{CssParserOptions, parse_css};
use biome_formatter::{IndentStyle, LineWidth, QuoteStyle};
use biome_formatter_test::check_reformat::CheckReformat;
mod language {
include!("language.r... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/tests/spec_test.rs | crates/biome_css_formatter/tests/spec_test.rs | use biome_configuration::css::CssFormatterConfiguration;
use biome_configuration::{Configuration, CssConfiguration};
use biome_css_formatter::{CssFormatLanguage, context::CssFormatOptions};
use biome_formatter_test::spec::{SpecSnapshot, SpecTestFile};
use biome_service::workspace::UpdateSettingsParams;
use camino::Utf8... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/tests/prettier_tests.rs | crates/biome_css_formatter/tests/prettier_tests.rs | use biome_css_formatter::{CssFormatLanguage, context::CssFormatOptions};
use biome_formatter::{IndentStyle, IndentWidth};
use biome_formatter_test::test_prettier_snapshot::{PrettierSnapshot, PrettierTestFile};
use camino::Utf8Path;
use std::env;
mod language;
tests_macros::gen_tests! {"tests/specs/prettier/{css}/**/*... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/tests/spec_tests.rs | crates/biome_css_formatter/tests/spec_tests.rs | mod quick_test;
mod spec_test;
mod formatter {
mod css_module {
tests_macros::gen_tests! {"tests/specs/css/**/*.css", 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_css_formatter/tests/language.rs | crates/biome_css_formatter/tests/language.rs | use biome_css_formatter::CssFormatLanguage;
use biome_css_formatter::context::CssFormatContext;
use biome_css_parser::{CssParserOptions, parse_css};
use biome_css_syntax::{CssFileSource, CssLanguage};
use biome_formatter_test::TestFormatLanguage;
use biome_fs::BiomePath;
use biome_parser::AnyParse;
use biome_service::{... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_css_formatter/benches/css_formatter.rs | crates/biome_css_formatter/benches/css_formatter.rs | use biome_css_formatter::context::CssFormatOptions;
use biome_css_formatter::format_node;
use biome_css_parser::{CssParserOptions, parse_css};
use biome_css_syntax::CssRoot;
use biome_formatter::Printed;
use biome_rowan::AstNode;
use biome_test_utils::BenchCase;
use criterion::{BenchmarkId, Criterion, Throughput, black... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/lexer.rs | crates/biome_parser/src/lexer.rs | use super::diagnostic::ParseDiagnostic;
use biome_rowan::{SyntaxKind, TextRange, TextSize};
use biome_unicode_table::{Dispatch::WHS, lookup_byte};
use enumflags2::{BitFlags, bitflags, make_bitflags};
use std::collections::VecDeque;
use std::iter::FusedIterator;
use std::ops::{BitOr, BitOrAssign};
use unicode_bom::Bom;
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/tree_sink.rs | crates/biome_parser/src/tree_sink.rs | use crate::prelude::*;
use crate::token_source::Trivia;
use biome_rowan::{
Language, NodeCache, SyntaxFactory, SyntaxKind, SyntaxNode, TextRange, TextSize, TreeBuilder,
TriviaPiece,
};
/// An abstraction for syntax tree implementations
pub trait TreeSink {
type Kind: SyntaxKind;
/// Adds new token to ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/event.rs | crates/biome_parser/src/event.rs | //! Events emitted by the Parser which are then constructed into a syntax tree
use std::mem;
use std::num::NonZeroU32;
use crate::diagnostic::ParseDiagnostic;
use crate::tree_sink::TreeSink;
use biome_rowan::{SyntaxKind, TextSize};
/// Events emitted by the Parser, these events are later
/// made into a syntax tree ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/prelude.rs | crates/biome_parser/src/prelude.rs | pub use crate::diagnostic::{ParseDiagnostic, ToDiagnostic};
pub use crate::marker::{CompletedMarker, Marker};
pub use crate::parsed_syntax::ParsedSyntax;
pub use crate::token_source::{BumpWithContext, NthToken, TokenSource, Trivia};
pub use crate::tree_sink::{LosslessTreeSink, OffsetLosslessTreeSink, TreeSink};
pub use... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/lib.rs | crates/biome_parser/src/lib.rs | #![deny(clippy::use_self)]
#![deny(rustdoc::broken_intra_doc_links)]
#![doc = include_str!("../CONTRIBUTING.md")]
use crate::diagnostic::{ParseDiagnostic, ToDiagnostic, expected_token};
use crate::event::Event;
use crate::event::Event::Token;
use crate::lexer::LexerWithCheckpoint;
use crate::parsed_syntax::ParsedSynta... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/token_set.rs | crates/biome_parser/src/token_set.rs | use biome_rowan::SyntaxKind;
use std::marker::PhantomData;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct TokenSet<K: SyntaxKind>([u128; 3], PhantomData<K>);
impl<K: SyntaxKind> TokenSet<K> {
pub const EMPTY: Self = Self([0; 3], PhantomData);
pub fn singleton(kind: K) -> Self {
unsafe { Self... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/token_source.rs | crates/biome_parser/src/token_source.rs | use crate::lexer::{BufferedLexer, LexerWithCheckpoint};
use crate::{diagnostic::ParseDiagnostic, lexer::LexerCheckpoint};
use biome_rowan::{SyntaxKind, TextRange, TextSize, TriviaPieceKind};
/// A comment or a whitespace trivia in the source code.
#[derive(Debug, Copy, Clone)]
pub struct Trivia {
/// The kind of t... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/parse_lists.rs | crates/biome_parser/src/parse_lists.rs | //! A set of traits useful to parse various types of lists
use crate::ParserProgress;
use crate::parse_recovery::RecoveryResult;
use crate::prelude::*;
use biome_rowan::SyntaxKind;
/// Use this trait to parse simple lists that don't have particular requirements.
///
/// ```rust,ignore
/// use biome_js_parser::{ParseS... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/parse_recovery.rs | crates/biome_parser/src/parse_recovery.rs | use crate::prelude::*;
use biome_rowan::SyntaxKind;
use std::error::Error;
use std::fmt::{Display, Formatter};
#[derive(Debug, Eq, PartialEq)]
pub enum RecoveryError {
/// Recovery failed because the parser reached the end of file
Eof,
/// Recovery failed because it didn't eat any tokens. Meaning, the par... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/parsed_syntax.rs | crates/biome_parser/src/parsed_syntax.rs | use crate::parse_recovery::{ParseRecovery, ParseRecoveryTokenSet, RecoveryResult};
use crate::parsed_syntax::ParsedSyntax::{Absent, Present};
use crate::prelude::*;
use biome_rowan::TextRange;
/// Syntax that is either present in the source tree or absent.
///
/// This type is commonly used as the return type of parse... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/diagnostic.rs | crates/biome_parser/src/diagnostic.rs | use crate::token_source::TokenSource;
use crate::{EOF_STR, Parser};
use biome_console::fmt::Formatter;
use biome_diagnostics::console::fmt::Display;
use biome_diagnostics::console::{MarkupBuf, markup};
use biome_diagnostics::location::AsSpan;
use biome_diagnostics::{
Advices, Category, Diagnostic, Location, LogCate... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_parser/src/marker.rs | crates/biome_parser/src/marker.rs | use crate::Parser;
use crate::event::Event;
use crate::event::Event::Token;
use crate::token_source::TokenSource;
use biome_rowan::{SyntaxKind, TextRange, TextSize};
use drop_bomb::DebugDropBomb;
use std::num::NonZeroU32;
/// A structure signifying the start of parsing of a syntax tree node
#[derive(Debug)]
#[must_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_parser/src/lib.rs | crates/biome_graphql_parser/src/lib.rs | //! Extremely fast, lossless, and error tolerant GraphQL Parser.
#![deny(clippy::use_self)]
use biome_graphql_factory::GraphqlSyntaxFactory;
use biome_graphql_syntax::{GraphqlLanguage, GraphqlRoot, GraphqlSyntaxNode};
pub use biome_parser::prelude::*;
use biome_parser::{AnyParse, NodeParse};
use biome_rowan::{AstNode... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/token_source.rs | crates/biome_graphql_parser/src/token_source.rs | use crate::lexer::GraphqlLexer;
use biome_graphql_syntax::GraphqlSyntaxKind::EOF;
use biome_graphql_syntax::{GraphqlSyntaxKind, TextRange};
use biome_parser::diagnostic::ParseDiagnostic;
use biome_parser::lexer::BufferedLexer;
use biome_parser::prelude::TokenSource;
use biome_parser::token_source::{TokenSourceWithBuffe... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/argument.rs | crates/biome_graphql_parser/src/parser/argument.rs | use biome_graphql_syntax::{
GraphqlSyntaxKind::{self, *},
T,
};
use biome_parser::{
Parser, parse_lists::ParseNodeList, parse_recovery::ParseRecovery, parsed_syntax::ParsedSyntax,
prelude::ParsedSyntax::*,
};
use super::{
GraphqlParser,
directive::is_at_directive,
is_nth_at_name,
parse_... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/variable.rs | crates/biome_graphql_parser/src/parser/variable.rs | use crate::parser::GraphqlParser;
use biome_graphql_syntax::{GraphqlSyntaxKind::*, T};
use biome_parser::{Parser, parsed_syntax::ParsedSyntax, prelude::ParsedSyntax::*};
use super::{parse_error::expected_name, parse_literal_name};
#[inline]
pub(crate) fn parse_variable_binding(p: &mut GraphqlParser) -> ParsedSyntax {... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/value.rs | crates/biome_graphql_parser/src/parser/value.rs | /// Parse all inpul value
/// https://spec.graphql.org/October2021/#sec-Input-Values
use crate::parser::GraphqlParser;
use biome_graphql_syntax::{
GraphqlSyntaxKind::{self, *},
T,
};
use biome_parser::{
Parser, TokenSet, parse_lists::ParseNodeList, parse_recovery::ParseRecovery,
parsed_syntax::ParsedSyn... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/directive.rs | crates/biome_graphql_parser/src/parser/directive.rs | use crate::parser::{GraphqlParser, parse_error::expected_name};
use biome_graphql_syntax::{
GraphqlSyntaxKind::{self, *},
T,
};
use biome_parser::{
Parser, parse_lists::ParseNodeList, parse_recovery::ParseRecovery, parsed_syntax::ParsedSyntax,
prelude::ParsedSyntax::*,
};
use super::{argument::parse_ar... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/type.rs | crates/biome_graphql_parser/src/parser/type.rs | use biome_graphql_syntax::{GraphqlSyntaxKind::*, T};
use biome_parser::{
CompletedMarker, Parser, parsed_syntax::ParsedSyntax, prelude::ParsedSyntax::*,
};
use super::{
GraphqlParser,
parse_error::{expected_named_or_list_type, expected_type},
parse_reference,
};
#[inline]
pub(crate) fn parse_type(p: &... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/mod.rs | crates/biome_graphql_parser/src/parser/mod.rs | mod argument;
mod definitions;
mod directive;
mod parse_error;
mod r#type;
mod value;
mod variable;
use crate::token_source::GraphqlTokenSource;
use biome_graphql_syntax::GraphqlSyntaxKind::{self, *};
use biome_graphql_syntax::T;
use biome_parser::ParserContext;
use biome_parser::diagnostic::merge_diagnostics;
use biom... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/parse_error.rs | crates/biome_graphql_parser/src/parser/parse_error.rs | use crate::parser::GraphqlParser;
use biome_parser::{
Parser,
diagnostic::{ParseDiagnostic, expected_any, expected_node},
};
use biome_rowan::TextRange;
pub(crate) fn expected_any_definition(p: &GraphqlParser, range: TextRange) -> ParseDiagnostic {
expected_node("definition", range, p)
}
pub(crate) fn exp... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/field.rs | crates/biome_graphql_parser/src/parser/definitions/field.rs | use crate::parser::{
GraphqlParser,
directive::DirectiveList,
is_nth_at_name, is_nth_at_non_kw_name, parse_description,
parse_error::{expected_field_definition, expected_name, expected_type},
parse_literal_name,
r#type::parse_type,
value::{is_at_string, parse_default_value},
};
use biome_gra... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/object.rs | crates/biome_graphql_parser/src/parser/definitions/object.rs | use crate::parser::{
GraphqlParser,
directive::DirectiveList,
parse_binding, parse_description,
parse_error::{expected_name, expected_object_extension},
parse_reference,
};
use biome_graphql_syntax::{GraphqlSyntaxKind::*, T};
use biome_parser::{
Parser, parse_lists::ParseNodeList, parsed_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_parser/src/parser/definitions/union.rs | crates/biome_graphql_parser/src/parser/definitions/union.rs | use crate::parser::{
GraphqlParser,
directive::DirectiveList,
is_nth_at_name, is_nth_at_non_kw_name, parse_binding, parse_description,
parse_error::{expected_name, expected_named_type, expected_union_extension},
parse_reference,
r#type::parse_named_type,
};
use biome_graphql_syntax::{
Graphq... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/input_object.rs | crates/biome_graphql_parser/src/parser/definitions/input_object.rs | use crate::parser::{
GraphqlParser,
directive::DirectiveList,
parse_binding, parse_description,
parse_error::{expected_input_object_extension, expected_name},
parse_reference,
};
use biome_graphql_syntax::{
GraphqlSyntaxKind::{self, *},
T,
};
use biome_parser::{
Parser, parse_lists::Pars... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/interface.rs | crates/biome_graphql_parser/src/parser/definitions/interface.rs | use crate::parser::{
GraphqlParser,
directive::{DirectiveList, is_at_directive},
is_nth_at_name, parse_binding, parse_description,
parse_error::{expected_name, expected_named_type, expected_object_extension},
parse_reference,
r#type::parse_named_type,
};
use biome_graphql_syntax::{
GraphqlSy... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/fragment.rs | crates/biome_graphql_parser/src/parser/definitions/fragment.rs | use crate::parser::{
GraphqlParser,
directive::DirectiveList,
parse_binding,
parse_error::{expected_name, expected_named_type, fragment_name_must_not_be_on},
parse_reference,
};
use biome_graphql_syntax::{GraphqlSyntaxKind::*, T};
use biome_parser::{
CompletedMarker, Parser, parse_lists::ParseNo... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/directive.rs | crates/biome_graphql_parser/src/parser/definitions/directive.rs | use crate::parser::{
GraphqlParser, parse_binding, parse_description,
parse_error::{expected_directive_location, expected_name},
};
use biome_graphql_syntax::{
GraphqlSyntaxKind::{self, *},
T,
};
use biome_parser::prelude::TokenSource;
use biome_parser::{
Parser, TokenSet, parse_lists::ParseSeparate... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/schema.rs | crates/biome_graphql_parser/src/parser/definitions/schema.rs | use crate::parser::{
GraphqlParser,
directive::DirectiveList,
parse_description,
parse_error::{
expected_named_type, expected_operation_type, expected_root_operation_type_definition,
expected_schema_extension,
},
r#type::parse_named_type,
};
use biome_graphql_syntax::{
Graphq... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/scalar.rs | crates/biome_graphql_parser/src/parser/definitions/scalar.rs | use crate::parser::{
GraphqlParser,
directive::DirectiveList,
parse_binding, parse_description,
parse_error::{expected_directive, expected_name},
parse_reference,
};
use biome_graphql_syntax::{GraphqlSyntaxKind::*, T};
use biome_parser::{
Parser, parse_lists::ParseNodeList, parsed_syntax::Parsed... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/mod.rs | crates/biome_graphql_parser/src/parser/definitions/mod.rs | mod directive;
mod r#enum;
mod field;
mod fragment;
mod input_object;
mod interface;
mod object;
mod operation;
mod scalar;
mod schema;
mod union;
use crate::parser::{GraphqlParser, parse_error::expected_any_definition};
use biome_graphql_syntax::{
GraphqlSyntaxKind::{self, *},
T,
};
use biome_parser::{
Pa... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/parser/definitions/enum.rs | crates/biome_graphql_parser/src/parser/definitions/enum.rs | use crate::parser::{
GraphqlParser,
directive::{DirectiveList, is_at_directive},
is_nth_at_name, is_nth_at_non_kw_name, parse_binding, parse_description,
parse_error::{expected_enum_extension, expected_name},
parse_literal_name, parse_reference,
value::is_at_string,
};
use biome_graphql_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_parser/src/parser/definitions/operation.rs | crates/biome_graphql_parser/src/parser/definitions/operation.rs | use crate::parser::{
GraphqlParser,
argument::parse_arguments,
directive::{DirectiveList, is_at_directive},
is_nth_at_name, parse_binding,
parse_error::{
expected_any_selection, expected_name, expected_type, expected_variable,
expected_variable_definition,
},
parse_literal_na... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/lexer/tests.rs | crates/biome_graphql_parser/src/lexer/tests.rs | #![cfg(test)]
#![expect(unused_mut, unused_variables)]
use super::{GraphqlLexer, TextSize};
use biome_graphql_syntax::GraphqlSyntaxKind::{self, EOF};
use biome_parser::lexer::Lexer;
use quickcheck_macros::quickcheck;
use std::sync::mpsc::channel;
use std::thread;
use std::time::Duration;
// Assert the result of lexin... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/src/lexer/mod.rs | crates/biome_graphql_parser/src/lexer/mod.rs | //! An extremely fast, lookup table based, GraphQL lexer which yields SyntaxKind tokens used by the biome GraphQL parser.
#[rustfmt::skip]
mod tests;
use biome_graphql_syntax::{GraphqlSyntaxKind, GraphqlSyntaxKind::*, T, TextLen, TextSize};
use biome_parser::diagnostic::ParseDiagnostic;
use biome_parser::lexer::{Lexer... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/tests/spec_test.rs | crates/biome_graphql_parser/tests/spec_test.rs | use biome_console::fmt::{Formatter, Termcolor};
use biome_console::markup;
use biome_diagnostics::DiagnosticExt;
use biome_diagnostics::display::PrintDiagnostic;
use biome_diagnostics::termcolor;
use biome_graphql_parser::parse_graphql;
use biome_rowan::SyntaxKind;
use biome_test_utils::validate_eof_token;
use std::fmt... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/tests/spec_tests.rs | crates/biome_graphql_parser/tests/spec_tests.rs | mod spec_test;
mod ok {
//! Tests that are valid GraphQL
tests_macros::gen_tests! {"tests/graphql_test_suite/ok/**/*.graphql", crate::spec_test::run, "ok"}
}
mod err {
//! Tests that must fail because they are not valid GraphQL
tests_macros::gen_tests! {"tests/graphql_test_suite/err/**/*.graphql", cra... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_graphql_parser/benches/graphql_parser.rs | crates/biome_graphql_parser/benches/graphql_parser.rs | use biome_diagnostics::{DiagnosticExt, print_diagnostic_to_string};
use biome_graphql_parser::{parse_graphql, parse_graphql_with_cache};
use biome_rowan::NodeCache;
use biome_test_utils::BenchCase;
use criterion::{
BatchSize, BenchmarkId, Criterion, Throughput, black_box, criterion_group, criterion_main,
};
use std... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/lib.rs | crates/biome_html_parser/src/lib.rs | #![deny(clippy::use_self)]
mod lexer;
mod parser;
mod syntax;
mod token_source;
pub use parser::HtmlParseOptions;
use crate::parser::{HtmlLosslessTreeSink, HtmlParser};
use crate::syntax::parse_root;
use biome_html_syntax::{HtmlRoot, HtmlSyntaxNode};
use biome_parser::diagnostic::ParseDiagnostic;
use biome_parser::{... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/token_source.rs | crates/biome_html_parser/src/token_source.rs | use crate::lexer::HtmlLexer;
use biome_html_syntax::HtmlSyntaxKind::{AS_KW, CATCH_KW, EOF, THEN_KW};
use biome_html_syntax::{HtmlSyntaxKind, TextRange};
use biome_parser::diagnostic::ParseDiagnostic;
use biome_parser::lexer::{BufferedLexer, LexContext};
use biome_parser::prelude::BumpWithContext;
use biome_parser::toke... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/parser.rs | crates/biome_html_parser/src/parser.rs | use crate::token_source::{
HtmlReLexContext, HtmlTokenSource, HtmlTokenSourceCheckpoint, TextExpressionKind,
};
use biome_html_factory::HtmlSyntaxFactory;
use biome_html_syntax::{
HtmlFileSource, HtmlLanguage, HtmlSyntaxKind, HtmlTextExpressions, HtmlVariant,
};
use biome_parser::diagnostic::{ParseDiagnostic, m... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/syntax/svelte.rs | crates/biome_html_parser/src/syntax/svelte.rs | use crate::parser::HtmlParser;
use crate::syntax::parse_error::{
expected_child_or_block, expected_expression, expected_svelte_closing_block,
expected_text_expression,
};
use crate::syntax::{parse_html_element, parse_single_text_expression_content};
use crate::token_source::{HtmlLexContext, HtmlReLexContext, Re... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/syntax/astro.rs | crates/biome_html_parser/src/syntax/astro.rs | use crate::parser::HtmlParser;
use crate::syntax::parse_error::expected_closed_fence;
use crate::token_source::HtmlLexContext;
use biome_html_syntax::HtmlSyntaxKind::{
ASTRO_EMBEDDED_CONTENT, ASTRO_FRONTMATTER_ELEMENT, FENCE, HTML_LITERAL,
};
use biome_html_syntax::T;
use biome_parser::Parser;
use biome_parser::pre... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/syntax/mod.rs | crates/biome_html_parser/src/syntax/mod.rs | mod astro;
mod parse_error;
mod svelte;
mod vue;
use crate::parser::HtmlParser;
use crate::syntax::HtmlSyntaxFeatures::{DoubleTextExpressions, SingleTextExpressions};
use crate::syntax::astro::parse_astro_fence;
use crate::syntax::parse_error::*;
use crate::syntax::svelte::{
is_at_svelte_keyword, parse_attach_attr... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/syntax/vue.rs | crates/biome_html_parser/src/syntax/vue.rs | use crate::parser::HtmlParser;
use crate::syntax::parse_attribute_initializer;
use crate::syntax::parse_error::expected_attribute;
use crate::syntax::parse_error::expected_vue_directive_argument;
use crate::token_source::HtmlLexContext;
use biome_html_syntax::HtmlSyntaxKind;
use biome_html_syntax::HtmlSyntaxKind::*;
us... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/syntax/parse_error.rs | crates/biome_html_parser/src/syntax/parse_error.rs | use crate::parser::HtmlParser;
use biome_console::markup;
use biome_html_syntax::TextRange;
use biome_parser::Parser;
use biome_parser::diagnostic::{ParseDiagnostic, expect_one_of, expected_node};
use biome_parser::prelude::ToDiagnostic;
pub(crate) fn expected_attribute(p: &HtmlParser, range: TextRange) -> ParseDiagno... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/lexer/tests.rs | crates/biome_html_parser/src/lexer/tests.rs | #![cfg(test)]
use super::{HtmlLexer, TextSize};
use crate::token_source::HtmlLexContext;
use biome_html_syntax::HtmlSyntaxKind::{self, *};
use biome_parser::lexer::Lexer;
use quickcheck_macros::quickcheck;
use std::sync::mpsc::channel;
use std::thread;
use std::time::Duration;
// This is for testing if the lexer is t... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/src/lexer/mod.rs | crates/biome_html_parser/src/lexer/mod.rs | mod tests;
use crate::token_source::{
HtmlEmbeddedLanguage, HtmlLexContext, HtmlReLexContext, RestrictedExpressionStopAt,
TextExpressionKind,
};
use biome_html_syntax::HtmlSyntaxKind::{
AS_KW, ATTACH_KW, AWAIT_KW, CATCH_KW, COMMENT, CONST_KW, DEBUG_KW, DOCTYPE_KW, EACH_KW,
ELSE_KW, EOF, ERROR_TOKEN, HT... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/tests/quick_test.rs | crates/biome_html_parser/tests/quick_test.rs | use biome_html_parser::{HtmlParseOptions, parse_html};
use biome_test_utils::has_bogus_nodes_or_empty_slots;
#[ignore]
#[test]
pub fn quick_test() {
let code = r#"
<article>
{@html content}
</article>
"#;
let options = HtmlParseOptions::default().with_single_text_expression();
let root = parse_html(code... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/tests/spec_test.rs | crates/biome_html_parser/tests/spec_test.rs | use biome_console::fmt::{Formatter, Termcolor};
use biome_console::markup;
use biome_diagnostics::{DiagnosticExt, PrintDiagnostic, termcolor};
use biome_html_parser::{HtmlParseOptions, parse_html};
use biome_html_syntax::{HtmlFileSource, HtmlVariant};
use biome_rowan::SyntaxKind;
use biome_test_utils::{has_bogus_nodes_... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/tests/spec_tests.rs | crates/biome_html_parser/tests/spec_tests.rs | mod spec_test;
use biome_html_factory::syntax::HtmlElement;
use biome_html_parser::{HtmlParseOptions, parse_html};
use biome_html_syntax::ScriptType;
use biome_rowan::AstNode;
mod ok {
tests_macros::gen_tests! {"tests/html_specs/ok/**/*.{html,astro,vue,svelte}", crate::spec_test::run, "ok"}
}
mod error {
tes... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_parser/benches/html_parser.rs | crates/biome_html_parser/benches/html_parser.rs | use biome_diagnostics::{DiagnosticExt, print_diagnostic_to_string};
use biome_html_parser::{HtmlParseOptions, parse_html, parse_html_with_cache};
use biome_html_syntax::HtmlFileSource;
use biome_rowan::NodeCache;
use biome_test_utils::BenchCase;
use criterion::{
BatchSize, BenchmarkId, Criterion, Throughput, black_... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_yaml_parser/src/lib.rs | crates/biome_yaml_parser/src/lib.rs | use biome_parser::{AnyParse, NodeParse, prelude::ParseDiagnostic, tree_sink::LosslessTreeSink};
use biome_rowan::{AstNode, NodeCache};
use biome_yaml_factory::YamlSyntaxFactory;
use biome_yaml_syntax::{YamlLanguage, YamlRoot, YamlSyntaxNode};
use parser::{YamlParser, parse_root};
mod lexer;
mod parser;
mod token_sourc... | 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.