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_js_formatter/src/jsx/any/attribute.rs | crates/biome_js_formatter/src/jsx/any/attribute.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_js_syntax::AnyJsxAttribute;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyJsxAttribute;
impl FormatRule<AnyJsxAttribute> for FormatAnyJsxAttribute {
type Cont... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/any/mod.rs | crates/biome_js_formatter/src/jsx/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 attribute;
pub(crate) mod attribute_name;
pub(crate) mod attribute_value;
pub(crate) mod child;
pub(crate) mod element_name;
pub(crate) mod name;
pub(crate) mod object_name;
pub(crate) mod tag;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/any/child.rs | crates/biome_js_formatter/src/jsx/any/child.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_js_syntax::AnyJsxChild;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyJsxChild;
impl FormatRule<AnyJsxChild> for FormatAnyJsxChild {
type Context = JsFormatCo... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/any/element_name.rs | crates/biome_js_formatter/src/jsx/any/element_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_js_syntax::AnyJsxElementName;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyJsxElementName;
impl FormatRule<AnyJsxElementName> for FormatAnyJsxElementName {
t... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/any/attribute_name.rs | crates/biome_js_formatter/src/jsx/any/attribute_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_js_syntax::AnyJsxAttributeName;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyJsxAttributeName;
impl FormatRule<AnyJsxAttributeName> for FormatAnyJsxAttributeName... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/any/attribute_value.rs | crates/biome_js_formatter/src/jsx/any/attribute_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_js_syntax::AnyJsxAttributeValue;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyJsxAttributeValue;
impl FormatRule<AnyJsxAttributeValue> for FormatAnyJsxAttributeV... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/any/name.rs | crates/biome_js_formatter/src/jsx/any/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_js_syntax::AnyJsxName;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyJsxName;
impl FormatRule<AnyJsxName> for FormatAnyJsxName {
type Context = JsFormatContex... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/any/object_name.rs | crates/biome_js_formatter/src/jsx/any/object_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_js_syntax::AnyJsxObjectName;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyJsxObjectName;
impl FormatRule<AnyJsxObjectName> for FormatAnyJsxObjectName {
type ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/any/tag.rs | crates/biome_js_formatter/src/jsx/any/tag.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_js_syntax::AnyJsxTag;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatAnyJsxTag;
impl FormatRule<AnyJsxTag> for FormatAnyJsxTag {
type Context = JsFormatContext;
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/objects/member_name.rs | crates/biome_js_formatter/src/jsx/objects/member_name.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::{JsxMemberName, JsxMemberNameFields};
#[derive(Debug, Clone, Default)]
pub struct FormatJsxMemberName;
impl FormatNodeRule<JsxMemberName> for FormatJsxMemberName {
fn fmt_fields(&self, node: &JsxMemberName, f: &mut JsFormatter) -> FormatResu... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/objects/mod.rs | crates/biome_js_formatter/src/jsx/objects/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 member_name;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/attribute/attribute.rs | crates/biome_js_formatter/src/jsx/attribute/attribute.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::{JsxAttribute, JsxAttributeFields};
#[derive(Debug, Clone, Default)]
pub struct FormatJsxAttribute;
impl FormatNodeRule<JsxAttribute> for FormatJsxAttribute {
fn fmt_fields(&self, node: &JsxAttribute, f: &mut JsFormatter) -> FormatResult<()>... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/attribute/expression_attribute_value.rs | crates/biome_js_formatter/src/jsx/attribute/expression_attribute_value.rs | use crate::prelude::*;
use biome_formatter::{CstFormatContext, format_args, write};
use biome_js_syntax::{
AnyJsExpression, AnyJsxTag, JsxExpressionAttributeValue, JsxExpressionAttributeValueFields,
};
#[derive(Debug, Clone, Default)]
pub struct FormatJsxExpressionAttributeValue;
impl FormatNodeRule<JsxExpressio... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/attribute/mod.rs | crates/biome_js_formatter/src/jsx/attribute/mod.rs | //! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file.
#[expect(clippy::module_inception)]
pub(crate) mod attribute;
pub(crate) mod attribute_initializer_clause;
pub(crate) mod expression_attribute_value;
pub(crate) mod spread_attribute;
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/attribute/spread_attribute.rs | crates/biome_js_formatter/src/jsx/attribute/spread_attribute.rs | use crate::prelude::*;
use crate::utils::format_node_without_comments::FormatAnyJsExpressionWithoutComments;
use biome_formatter::write;
use biome_js_syntax::{JsxSpreadAttribute, JsxSpreadAttributeFields};
#[derive(Debug, Clone, Default)]
pub struct FormatJsxSpreadAttribute;
impl FormatNodeRule<JsxSpreadAttribute> f... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/jsx/attribute/attribute_initializer_clause.rs | crates/biome_js_formatter/src/jsx/attribute/attribute_initializer_clause.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::{JsxAttributeInitializerClause, JsxAttributeInitializerClauseFields};
#[derive(Debug, Clone, Default)]
pub struct FormatJsxAttributeInitializerClause;
impl FormatNodeRule<JsxAttributeInitializerClause> for FormatJsxAttributeInitializerClause {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/array.rs | crates/biome_js_formatter/src/utils/array.rs | use crate::AsFormat;
use crate::prelude::*;
use crate::context::trailing_commas::FormatTrailingCommas;
use biome_formatter::write;
use biome_js_syntax::{
AnyJsArrayAssignmentPatternElement, AnyJsArrayBindingPatternElement, AnyJsArrayElement,
JsLanguage,
};
use biome_rowan::{AstNode, AstSeparatedList};
/// Uti... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/object.rs | crates/biome_js_formatter/src/utils/object.rs | use crate::prelude::*;
use crate::utils::FormatLiteralStringToken;
use crate::utils::StringLiteralParentKind;
use biome_formatter::write;
use biome_js_syntax::JsSyntaxKind::JS_STRING_LITERAL;
use biome_js_syntax::{AnyJsClassMemberName, AnyJsObjectMemberName};
use biome_rowan::{AstNode, declare_node_union};
use unicode_... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/assignment_like.rs | crates/biome_js_formatter/src/utils/assignment_like.rs | use crate::js::auxiliary::initializer_clause::FormatJsInitializerClauseOptions;
use crate::js::expressions::arrow_function_expression::FormatJsArrowFunctionExpressionOptions;
use crate::prelude::*;
use crate::ts::bindings::type_parameters::FormatTsTypeParametersOptions;
use crate::utils::member_chain::is_member_call_ch... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | true |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/object_like.rs | crates/biome_js_formatter/src/utils/object_like.rs | use crate::JsFormatContext;
use crate::prelude::*;
use biome_formatter::{Expand, write};
use biome_formatter::{Format, FormatResult};
use biome_js_syntax::{
JsFormalParameter, JsObjectExpression, JsParameterList, JsSyntaxToken, TsObjectType,
TsTypeAnnotation,
};
use biome_rowan::{AstNode, AstNodeList, AstSepara... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/test_each_template.rs | crates/biome_js_formatter/src/utils/test_each_template.rs | use crate::js::auxiliary::template_element::TemplateElementOptions;
use crate::js::lists::template_element_list::TemplateElementIndention;
use crate::prelude::*;
use biome_formatter::printer::Printer;
use biome_formatter::{
CstFormatContext, FormatOptions, RemoveSoftLinesBuffer, VecBuffer, format_args, write,
};
us... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/typescript.rs | crates/biome_js_formatter/src/utils/typescript.rs | use crate::prelude::*;
use biome_formatter::CstFormatContext;
use biome_js_syntax::AnyTsType;
use biome_rowan::AstSeparatedList;
/// Utility function that checks if the current type is object like type
/// ```ts
/// type A = {};
/// type B = {
/// [key in A]: number;
/// };
/// ```
pub(crate) fn is... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/function_body.rs | crates/biome_js_formatter/src/utils/function_body.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::AnyJsFunctionBody;
#[derive(Copy, Clone, Debug, Default)]
pub enum FunctionBodyCacheMode {
/// Format the body without caching it or retrieving it from the cache.
#[default]
NoCache,
/// The body has been cached before, try to ret... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/object_pattern_like.rs | crates/biome_js_formatter/src/utils/object_pattern_like.rs | use crate::JsFormatContext;
use crate::js::bindings::parameters::{FormatAnyJsParameters, should_hug_function_parameters};
use crate::prelude::*;
use biome_formatter::formatter::Formatter;
use biome_formatter::write;
use biome_formatter::{Format, FormatResult};
use biome_js_syntax::{
AnyJsAssignmentPattern, AnyJsBin... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/format_modifiers.rs | crates/biome_js_formatter/src/utils/format_modifiers.rs | use crate::prelude::*;
use crate::utils::sort_modifiers_by_precedence;
use crate::{AsFormat, IntoFormat};
use biome_formatter::{format_args, write};
use biome_js_syntax::JsSyntaxKind::JS_DECORATOR;
use biome_js_syntax::{JsLanguage, Modifier};
use biome_rowan::{AstNode, AstNodeList, NodeOrToken};
pub(crate) struct Form... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/format_binary_like_expression.rs | crates/biome_js_formatter/src/utils/format_binary_like_expression.rs | //! This module implements the formatting of binary like nodes.
//! Binary like nodes are nodes with `left` and `right` expressions. They include:
//! - [JsBinaryExpression]
//! - [JsLogicalExpression]
//! - [JsInExpression]
//! - [JsInstanceofExpression]
//!
//! The challenge of formatting binary like expressions 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_js_formatter/src/utils/mod.rs | crates/biome_js_formatter/src/utils/mod.rs | pub(crate) mod array;
mod assignment_like;
mod conditional;
mod format_binary_like_expression;
pub mod string_utils;
pub(crate) mod format_class;
pub(crate) mod format_modifiers;
pub(crate) mod format_node_without_comments;
pub(crate) mod function_body;
pub mod jsx;
pub(crate) mod member_chain;
pub(crate) mod object;
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/format_class.rs | crates/biome_js_formatter/src/utils/format_class.rs | use crate::{prelude::*, ts::bindings::type_parameters::FormatTsTypeParametersOptions};
use biome_formatter::{format_args, write};
use biome_js_syntax::AnyJsClass;
pub struct FormatClass<'a> {
class: &'a AnyJsClass,
}
impl FormatClass<'_> {
fn should_group(&self, comments: &JsComments) -> FormatResult<bool> {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/conditional.rs | crates/biome_js_formatter/src/utils/conditional.rs | use crate::prelude::*;
use biome_formatter::{
CstFormatContext, FormatContext, FormatOptions, FormatOwnedWithRule, FormatRefWithRule,
FormatRuleWithOptions, write,
};
use crate::{AsFormat, IntoFormat};
use biome_js_syntax::{
AnyJsExpression, AnyTsType, JsAssignmentExpression, JsConditionalExpression, JsFil... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/jsx.rs | crates/biome_js_formatter/src/utils/jsx.rs | use crate::JsCommentStyle;
use crate::prelude::*;
use biome_formatter::{QuoteStyle, comments::CommentStyle, format_args, write};
use biome_js_syntax::{
AnyJsExpression, AnyJsLiteralExpression, AnyJsxChild, AnyJsxTag, JsComputedMemberExpression,
JsStaticMemberExpression, JsSyntaxKind, JsxChildList, JsxExpression... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/format_node_without_comments.rs | crates/biome_js_formatter/src/utils/format_node_without_comments.rs | use crate::js::auxiliary::metavariable::FormatJsMetavariable;
use crate::js::bogus::bogus_expression::FormatJsBogusExpression;
use crate::js::expressions::array_expression::FormatJsArrayExpression;
use crate::js::expressions::arrow_function_expression::FormatJsArrowFunctionExpression;
use crate::js::expressions::assign... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/quickcheck_utils.rs | crates/biome_js_formatter/src/utils/quickcheck_utils.rs | /// Generates a string with only ascii chars
#[derive(Debug, Clone)]
pub struct AsciiString(String);
impl std::ops::Deref for AsciiString {
type Target = str;
fn deref(&self) -> &Self::Target {
self.0.as_str()
}
}
impl PartialEq<AsciiString> for &str {
fn eq(&self, other: &AsciiString) -> boo... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/string_utils.rs | crates/biome_js_formatter/src/utils/string_utils.rs | use crate::context::{JsFormatOptions, QuoteProperties};
use crate::prelude::*;
use biome_formatter::QuoteStyle;
use biome_formatter::token::string::normalize_string;
use biome_js_syntax::JsSyntaxKind::{JS_STRING_LITERAL, JSX_STRING_LITERAL};
use biome_js_syntax::{JsFileSource, JsSyntaxToken};
use biome_unicode_table::i... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/member_chain/chain_member.rs | crates/biome_js_formatter/src/utils/member_chain/chain_member.rs | use crate::js::expressions::computed_member_expression::FormatComputedMemberLookup;
use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::{
JsCallExpression, JsCallExpressionFields, JsComputedMemberExpression, JsImportCallExpression,
JsStaticMemberExpression, JsStaticMemberExpressionFields, Js... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/member_chain/mod.rs | crates/biome_js_formatter/src/utils/member_chain/mod.rs | //! Utility function that applies some heuristic to format chain member expressions and call expressions
//!
//! We want to transform code that looks like this:
//!
//! ```js
//! something.execute().then().then().catch()
//! ```
//!
//! To something like this:
//!
//! ```js
//! something
//! .execute()
//! .then()
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/member_chain/groups.rs | crates/biome_js_formatter/src/utils/member_chain/groups.rs | use crate::prelude::*;
use crate::utils::member_chain::chain_member::ChainMember;
use biome_formatter::write;
use biome_js_syntax::parentheses::NeedsParentheses;
use std::cell::RefCell;
#[derive(Default)]
pub(super) struct MemberChainGroupsBuilder {
/// keeps track of the groups created
groups: Vec<MemberChain... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/utils/member_chain/simple_argument.rs | crates/biome_js_formatter/src/utils/member_chain/simple_argument.rs | use crate::utils::is_call_like_expression;
use biome_js_syntax::{
AnyJsArrayElement, AnyJsAssignment, AnyJsCallArgument, AnyJsExpression, AnyJsLiteralExpression,
AnyJsName, AnyJsObjectMember, AnyJsObjectMemberName, AnyJsTemplateElement,
JsComputedMemberExpressionFields, JsPostUpdateOperator, JsPreUpdateOper... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/mod.rs | crates/biome_js_formatter/src/js/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 assignments;
pub(crate) mod auxiliary;
pub(crate) mod bindings;
pub(crate) mod bogus;
pub(crate) mod classes;
pub(crate) mod declarations;
pub(crate) mod expressions;
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_js_formatter/src/js/statements/for_in_statement.rs | crates/biome_js_formatter/src/js/statements/for_in_statement.rs | use crate::prelude::*;
use crate::utils::FormatStatementBody;
use biome_formatter::{format_args, write};
use biome_js_syntax::JsForInStatement;
use biome_js_syntax::JsForInStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsForInStatement;
impl FormatNodeRule<JsForInStatement> for FormatJsFor... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/break_statement.rs | crates/biome_js_formatter/src/js/statements/break_statement.rs | use crate::prelude::*;
use biome_formatter::write;
use crate::utils::FormatStatementSemicolon;
use biome_js_syntax::JsBreakStatement;
use biome_js_syntax::JsBreakStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsBreakStatement;
impl FormatNodeRule<JsBreakStatement> for FormatJsBreakStateme... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/continue_statement.rs | crates/biome_js_formatter/src/js/statements/continue_statement.rs | use crate::prelude::*;
use biome_formatter::write;
use crate::utils::FormatStatementSemicolon;
use biome_js_syntax::JsContinueStatement;
use biome_js_syntax::JsContinueStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsContinueStatement;
impl FormatNodeRule<JsContinueStatement> for FormatJs... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/do_while_statement.rs | crates/biome_js_formatter/src/js/statements/do_while_statement.rs | use crate::prelude::*;
use crate::utils::{FormatStatementBody, FormatStatementSemicolon};
use biome_formatter::{format_args, write};
use biome_js_syntax::JsDoWhileStatementFields;
use biome_js_syntax::{AnyJsStatement, JsDoWhileStatement};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsDoWhileStatement;
i... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/try_statement.rs | crates/biome_js_formatter/src/js/statements/try_statement.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsTryStatement;
use biome_js_syntax::JsTryStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsTryStatement;
impl FormatNodeRule<JsTryStatement> for FormatJsTryStatement {
fn fmt_fields(&self, node: &JsTryStatement, f:... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/with_statement.rs | crates/biome_js_formatter/src/js/statements/with_statement.rs | use crate::prelude::*;
use biome_formatter::{format_args, write};
use crate::utils::FormatStatementBody;
use biome_js_syntax::JsWithStatement;
use biome_js_syntax::JsWithStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsWithStatement;
impl FormatNodeRule<JsWithStatement> for FormatJsWithSta... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/debugger_statement.rs | crates/biome_js_formatter/src/js/statements/debugger_statement.rs | use crate::prelude::*;
use biome_formatter::write;
use crate::utils::FormatStatementSemicolon;
use biome_js_syntax::JsDebuggerStatement;
use biome_js_syntax::JsDebuggerStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsDebuggerStatement;
impl FormatNodeRule<JsDebuggerStatement> for FormatJs... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/for_of_statement.rs | crates/biome_js_formatter/src/js/statements/for_of_statement.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsForOfStatement;
use crate::utils::FormatStatementBody;
use biome_js_syntax::JsForOfStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsForOfStatement;
impl FormatNodeRule<JsForOfStatement> for FormatJsForOfStatement {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/if_statement.rs | crates/biome_js_formatter/src/js/statements/if_statement.rs | use crate::prelude::*;
use biome_formatter::{CstFormatContext, format_args, write};
use crate::utils::FormatStatementBody;
use biome_js_syntax::JsIfStatement;
use biome_js_syntax::JsIfStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsIfStatement;
impl FormatNodeRule<JsIfStatement> for Forma... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/return_statement.rs | crates/biome_js_formatter/src/js/statements/return_statement.rs | use crate::prelude::*;
use crate::utils::{FormatOptionalSemicolon, FormatStatementSemicolon};
use biome_formatter::{CstFormatContext, format_args, write};
use biome_js_syntax::binary_like_expression::AnyJsBinaryLikeExpression;
use biome_js_syntax::expression_left_side::AnyJsExpressionLeftSide;
use biome_js_syntax::{
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/variable_statement.rs | crates/biome_js_formatter/src/js/statements/variable_statement.rs | use crate::prelude::*;
use biome_formatter::write;
use crate::utils::FormatStatementSemicolon;
use biome_js_syntax::JsVariableStatement;
use biome_js_syntax::JsVariableStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsVariableStatement;
impl FormatNodeRule<JsVariableStatement> for FormatJs... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/while_statement.rs | crates/biome_js_formatter/src/js/statements/while_statement.rs | use crate::prelude::*;
use crate::utils::FormatStatementBody;
use biome_formatter::{format_args, write};
use biome_js_syntax::JsWhileStatement;
use biome_js_syntax::JsWhileStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsWhileStatement;
impl FormatNodeRule<JsWhileStatement> for FormatJsWhi... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/mod.rs | crates/biome_js_formatter/src/js/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 block_statement;
pub(crate) mod break_statement;
pub(crate) mod continue_statement;
pub(crate) mod debugger_statement;
pub(crate) mod do_while_statement;
pub(crate) mod empty_statement;
pub(crat... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/block_statement.rs | crates/biome_js_formatter/src/js/statements/block_statement.rs | use crate::prelude::*;
use biome_formatter::{Buffer, CstFormatContext, write};
use biome_js_syntax::JsBlockStatement;
use biome_js_syntax::{AnyJsStatement, JsEmptyStatement};
use biome_js_syntax::JsBlockStatementFields;
use biome_js_syntax::JsSyntaxKind;
use biome_rowan::{AstNode, AstNodeList, SyntaxNodeOptionExt};
#... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/throw_statement.rs | crates/biome_js_formatter/src/js/statements/throw_statement.rs | use crate::prelude::*;
use crate::js::statements::return_statement::AnyJsStatementWithArgument;
use biome_js_syntax::JsThrowStatement;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsThrowStatement;
impl FormatNodeRule<JsThrowStatement> for FormatJsThrowStatement {
fn fmt_fields(&self, node: &JsThrowS... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/expression_statement.rs | crates/biome_js_formatter/src/js/statements/expression_statement.rs | use crate::prelude::*;
use crate::utils::FormatStatementSemicolon;
use biome_formatter::{CstFormatContext, write};
use biome_js_syntax::expression_left_side::AnyJsExpressionLeftSide;
use biome_js_syntax::parentheses::NeedsParentheses;
use biome_js_syntax::{
AnyJsAssignment, AnyJsAssignmentPattern, AnyJsExpression,... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/switch_statement.rs | crates/biome_js_formatter/src/js/statements/switch_statement.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::{JsSwitchStatement, JsSwitchStatementFields};
use biome_rowan::AstNodeList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsSwitchStatement;
impl FormatNodeRule<JsSwitchStatement> for FormatJsSwitchStatement {
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_js_formatter/src/js/statements/for_statement.rs | crates/biome_js_formatter/src/js/statements/for_statement.rs | use crate::prelude::*;
use biome_formatter::{CstFormatContext, format_args, write};
use crate::utils::FormatStatementBody;
use biome_js_syntax::JsForStatement;
use biome_js_syntax::JsForStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsForStatement;
impl FormatNodeRule<JsForStatement> for F... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/labeled_statement.rs | crates/biome_js_formatter/src/js/statements/labeled_statement.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsLabeledStatementFields;
use biome_js_syntax::{AnyJsStatement, JsLabeledStatement};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsLabeledStatement;
impl FormatNodeRule<JsLabeledStatement> for FormatJsLabeledStatement {
fn fmt_f... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/statements/try_finally_statement.rs | crates/biome_js_formatter/src/js/statements/try_finally_statement.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsTryFinallyStatement;
use biome_js_syntax::JsTryFinallyStatementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsTryFinallyStatement;
impl FormatNodeRule<JsTryFinallyStatement> for FormatJsTryFinallyStatement {
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_js_formatter/src/js/statements/empty_statement.rs | crates/biome_js_formatter/src/js/statements/empty_statement.rs | use crate::prelude::*;
use biome_formatter::{CstFormatContext, write};
use biome_js_syntax::{JsEmptyStatement, JsEmptyStatementFields, JsSyntaxKind};
use biome_rowan::{AstNode, SyntaxNodeOptionExt};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsEmptyStatement;
impl FormatNodeRule<JsEmptyStatement> for F... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/decorator_list.rs | crates/biome_js_formatter/src/js/lists/decorator_list.rs | use crate::prelude::*;
use crate::utils::format_modifiers::should_expand_decorators;
use biome_formatter::write;
use biome_js_syntax::JsSyntaxKind::{
JS_CLASS_EXPRESSION, JS_FORMAL_PARAMETER, JS_REST_PARAMETER, TS_PROPERTY_PARAMETER,
};
use biome_js_syntax::{
AnyJsDeclarationClause, AnyJsExportClause, AnyJsExpo... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/array_assignment_pattern_element_list.rs | crates/biome_js_formatter/src/js/lists/array_assignment_pattern_element_list.rs | use crate::prelude::*;
use crate::utils::array::write_array_node;
use biome_js_syntax::JsArrayAssignmentPatternElementList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsArrayAssignmentPatternElementList;
impl FormatRule<JsArrayAssignmentPatternElementList> for FormatJsArrayAssignmentPatternElementList {... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/export_named_specifier_list.rs | crates/biome_js_formatter/src/js/lists/export_named_specifier_list.rs | use crate::context::trailing_commas::FormatTrailingCommas;
use crate::prelude::*;
use biome_js_syntax::JsExportNamedSpecifierList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportNamedSpecifierList;
impl FormatRule<JsExportNamedSpecifierList> for FormatJsExportNamedSpecifierList {
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_js_formatter/src/js/lists/constructor_parameter_list.rs | crates/biome_js_formatter/src/js/lists/constructor_parameter_list.rs | use crate::js::bindings::parameters::ParameterLayout;
use crate::js::lists::parameter_list::FormatJsAnyParameterList;
use crate::prelude::*;
use biome_js_syntax::JsConstructorParameterList;
use biome_js_syntax::parameter_ext::AnyJsParameterList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsConstructorPar... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/object_member_list.rs | crates/biome_js_formatter/src/js/lists/object_member_list.rs | use crate::context::trailing_commas::FormatTrailingCommas;
use crate::prelude::*;
use biome_js_syntax::JsObjectMemberList;
use biome_rowan::{AstNode, AstSeparatedList};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectMemberList;
impl FormatRule<JsObjectMemberList> for FormatJsObjectMemberList {
t... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/statement_list.rs | crates/biome_js_formatter/src/js/lists/statement_list.rs | use crate::prelude::*;
use biome_js_syntax::{AnyJsStatement, JsStatementList};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsStatementList;
impl FormatRule<JsStatementList> for FormatJsStatementList {
type Context = JsFormatContext;
fn fmt(&self, node: &JsStatementList, f: &mut JsFormatter) -> F... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/export_named_from_specifier_list.rs | crates/biome_js_formatter/src/js/lists/export_named_from_specifier_list.rs | use crate::context::trailing_commas::FormatTrailingCommas;
use crate::prelude::*;
use biome_js_syntax::JsExportNamedFromSpecifierList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportNamedFromSpecifierList;
impl FormatRule<JsExportNamedFromSpecifierList> for FormatJsExportNamedFromSpecifierList {
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/array_element_list.rs | crates/biome_js_formatter/src/js/lists/array_element_list.rs | use crate::prelude::*;
use biome_formatter::{
CstFormatContext, Expand, FormatContext, FormatRuleWithOptions, GroupId, write,
};
use crate::utils::array::write_array_node;
use crate::context::trailing_commas::FormatTrailingCommas;
use biome_js_syntax::JsArrayElementList;
use biome_rowan::{AstNode, AstSeparatedLis... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/array_binding_pattern_element_list.rs | crates/biome_js_formatter/src/js/lists/array_binding_pattern_element_list.rs | use crate::prelude::*;
use crate::utils::array::write_array_node;
use biome_js_syntax::JsArrayBindingPatternElementList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsArrayBindingPatternElementList;
impl FormatRule<JsArrayBindingPatternElementList> for FormatJsArrayBindingPatternElementList {
type Co... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/import_assertion_entry_list.rs | crates/biome_js_formatter/src/js/lists/import_assertion_entry_list.rs | use crate::context::trailing_commas::FormatTrailingCommas;
use crate::prelude::*;
use biome_js_syntax::JsImportAssertionEntryList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsImportAssertionEntryList;
impl FormatRule<JsImportAssertionEntryList> for FormatJsImportAssertionEntryList {
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_js_formatter/src/js/lists/property_modifier_list.rs | crates/biome_js_formatter/src/js/lists/property_modifier_list.rs | use crate::prelude::*;
use crate::utils::format_modifiers::FormatModifiers;
use biome_js_syntax::JsPropertyModifierList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsPropertyModifierList;
impl FormatRule<JsPropertyModifierList> for FormatJsPropertyModifierList {
type Context = JsFormatContext;
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/parameter_list.rs | crates/biome_js_formatter/src/js/lists/parameter_list.rs | use crate::js::bindings::parameters::ParameterLayout;
use crate::prelude::*;
use crate::context::trailing_commas::FormatTrailingCommas;
use biome_js_syntax::parameter_ext::{AnyJsParameterList, AnyParameter};
use biome_js_syntax::{AnyJsConstructorParameter, AnyJsParameter, JsParameterList};
#[derive(Debug, Clone, Defa... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/mod.rs | crates/biome_js_formatter/src/js/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 array_assignment_pattern_element_list;
pub(crate) mod array_binding_pattern_element_list;
pub(crate) mod array_element_list;
pub(crate) mod call_argument_list;
pub(crate) mod class_member_list;
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/module_item_list.rs | crates/biome_js_formatter/src/js/lists/module_item_list.rs | use crate::prelude::*;
use biome_js_syntax::{AnyJsModuleItem, AnyJsStatement, JsModuleItemList};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsModuleItemList;
impl FormatRule<JsModuleItemList> for FormatJsModuleItemList {
type Context = JsFormatContext;
fn fmt(&self, node: &JsModuleItemList, f: ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/object_binding_pattern_property_list.rs | crates/biome_js_formatter/src/js/lists/object_binding_pattern_property_list.rs | use crate::context::trailing_commas::FormatTrailingCommas;
use crate::prelude::*;
use biome_js_syntax::{AnyJsObjectBindingPatternMember, JsObjectBindingPatternPropertyList};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectBindingPatternPropertyList;
impl FormatRule<JsObjectBindingPatternPropertyList>... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/call_argument_list.rs | crates/biome_js_formatter/src/js/lists/call_argument_list.rs | use crate::prelude::*;
use crate::utils::write_arguments_multi_line;
use biome_formatter::write;
use biome_js_syntax::JsCallArgumentList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsCallArgumentList;
impl FormatRule<JsCallArgumentList> for FormatJsCallArgumentList {
type Context = JsFormatContext;
... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/class_member_list.rs | crates/biome_js_formatter/src/js/lists/class_member_list.rs | use crate::prelude::*;
use biome_js_syntax::JsClassMemberList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsClassMemberList;
impl FormatRule<JsClassMemberList> for FormatJsClassMemberList {
type Context = JsFormatContext;
fn fmt(&self, node: &JsClassMemberList, f: &mut JsFormatter) -> FormatRes... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/constructor_modifier_list.rs | crates/biome_js_formatter/src/js/lists/constructor_modifier_list.rs | use crate::prelude::*;
use biome_js_syntax::JsConstructorModifierList;
use biome_rowan::AstNodeList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsConstructorModifierList;
impl FormatRule<JsConstructorModifierList> for FormatJsConstructorModifierList {
type Context = JsFormatContext;
fn fmt(&sel... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/directive_list.rs | crates/biome_js_formatter/src/js/lists/directive_list.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsDirectiveList;
use biome_rowan::{AstNode, AstNodeList};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsDirectiveList;
impl FormatRule<JsDirectiveList> for FormatJsDirectiveList {
type Context = JsFormatContext;
fn fmt(&self... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/object_assignment_pattern_property_list.rs | crates/biome_js_formatter/src/js/lists/object_assignment_pattern_property_list.rs | use crate::context::trailing_commas::FormatTrailingCommas;
use crate::prelude::*;
use biome_js_syntax::{AnyJsObjectAssignmentPatternMember, JsObjectAssignmentPatternPropertyList};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectAssignmentPatternPropertyList;
impl FormatRule<JsObjectAssignmentPatternP... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/named_import_specifier_list.rs | crates/biome_js_formatter/src/js/lists/named_import_specifier_list.rs | use crate::context::trailing_commas::FormatTrailingCommas;
use crate::prelude::*;
use biome_js_syntax::JsNamedImportSpecifierList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsNamedImportSpecifierList;
impl FormatRule<JsNamedImportSpecifierList> for FormatJsNamedImportSpecifierList {
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_js_formatter/src/js/lists/variable_declarator_list.rs | crates/biome_js_formatter/src/js/lists/variable_declarator_list.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::{JsSyntaxKind, JsVariableDeclaratorList};
use biome_rowan::AstSeparatedList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsVariableDeclaratorList;
impl FormatRule<JsVariableDeclaratorList> for FormatJsVariableDeclaratorList {
ty... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/switch_case_list.rs | crates/biome_js_formatter/src/js/lists/switch_case_list.rs | use crate::prelude::*;
use biome_js_syntax::JsSwitchCaseList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsSwitchCaseList;
impl FormatRule<JsSwitchCaseList> for FormatJsSwitchCaseList {
type Context = JsFormatContext;
fn fmt(&self, node: &JsSwitchCaseList, f: &mut JsFormatter) -> FormatResult<(... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/template_element_list.rs | crates/biome_js_formatter/src/js/lists/template_element_list.rs | use crate::context::TabWidth;
use crate::js::auxiliary::template_chunk_element::AnyTemplateChunkElement;
use crate::js::auxiliary::template_element::{AnyTemplateElement, TemplateElementOptions};
use crate::prelude::*;
use crate::utils::test_each_template::EachTemplateTable;
use biome_formatter::FormatRuleWithOptions;
u... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/lists/method_modifier_list.rs | crates/biome_js_formatter/src/js/lists/method_modifier_list.rs | use crate::prelude::*;
use crate::utils::format_modifiers::FormatModifiers;
use biome_js_syntax::JsMethodModifierList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsMethodModifierList;
impl FormatRule<JsMethodModifierList> for FormatJsMethodModifierList {
type Context = JsFormatContext;
fn fmt(&... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/identifier_assignment.rs | crates/biome_js_formatter/src/js/assignments/identifier_assignment.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::parentheses::NeedsParentheses;
use biome_js_syntax::{JsIdentifierAssignment, JsIdentifierAssignmentFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsIdentifierAssignment;
impl FormatNodeRule<JsIdentifierAssignment> for FormatJs... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/object_assignment_pattern_rest.rs | crates/biome_js_formatter/src/js/assignments/object_assignment_pattern_rest.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsObjectAssignmentPatternRest;
use biome_js_syntax::JsObjectAssignmentPatternRestFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectAssignmentPatternRest;
impl FormatNodeRule<JsObjectAssignmentPatternRest> for FormatJsObjec... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/static_member_assignment.rs | crates/biome_js_formatter/src/js/assignments/static_member_assignment.rs | use crate::js::expressions::static_member_expression::AnyJsStaticMemberLike;
use crate::prelude::*;
use biome_js_syntax::JsStaticMemberAssignment;
use biome_js_syntax::parentheses::NeedsParentheses;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsStaticMemberAssignment;
impl FormatNodeRule<JsStaticMemberA... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/object_assignment_pattern_shorthand_property.rs | crates/biome_js_formatter/src/js/assignments/object_assignment_pattern_shorthand_property.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsObjectAssignmentPatternShorthandProperty;
use biome_js_syntax::JsObjectAssignmentPatternShorthandPropertyFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectAssignmentPatternShorthandProperty;
impl FormatNodeRule<JsObjectA... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/computed_member_assignment.rs | crates/biome_js_formatter/src/js/assignments/computed_member_assignment.rs | use crate::prelude::*;
use biome_js_syntax::parentheses::NeedsParentheses;
use biome_js_syntax::{AnyJsComputedMember, JsComputedMemberAssignment};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsComputedMemberAssignment;
impl FormatNodeRule<JsComputedMemberAssignment> for FormatJsComputedMemberAssignment ... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/object_assignment_pattern_property.rs | crates/biome_js_formatter/src/js/assignments/object_assignment_pattern_property.rs | use crate::prelude::*;
use crate::utils::AnyJsAssignmentLike;
use biome_formatter::write;
use biome_js_syntax::JsObjectAssignmentPatternProperty;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectAssignmentPatternProperty;
impl FormatNodeRule<JsObjectAssignmentPatternProperty> for FormatJsObjectAssignm... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/array_assignment_pattern_element.rs | crates/biome_js_formatter/src/js/assignments/array_assignment_pattern_element.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsArrayAssignmentPatternElement;
use biome_js_syntax::JsArrayAssignmentPatternElementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsArrayAssignmentPatternElement;
impl FormatNodeRule<JsArrayAssignmentPatternElement> for Forma... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/parenthesized_assignment.rs | crates/biome_js_formatter/src/js/assignments/parenthesized_assignment.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsParenthesizedAssignment;
use biome_js_syntax::JsParenthesizedAssignmentFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsParenthesizedAssignment;
impl FormatNodeRule<JsParenthesizedAssignment> for FormatJsParenthesizedAssignme... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/mod.rs | crates/biome_js_formatter/src/js/assignments/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 array_assignment_pattern;
pub(crate) mod array_assignment_pattern_element;
pub(crate) mod array_assignment_pattern_rest_element;
pub(crate) mod computed_member_assignment;
pub(crate) mod identif... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/array_assignment_pattern_rest_element.rs | crates/biome_js_formatter/src/js/assignments/array_assignment_pattern_rest_element.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsArrayAssignmentPatternRestElement;
use biome_js_syntax::JsArrayAssignmentPatternRestElementFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsArrayAssignmentPatternRestElement;
impl FormatNodeRule<JsArrayAssignmentPatternRestEl... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/object_assignment_pattern.rs | crates/biome_js_formatter/src/js/assignments/object_assignment_pattern.rs | use crate::prelude::*;
use crate::utils::JsObjectPatternLike;
use biome_formatter::write;
use biome_js_syntax::JsObjectAssignmentPattern;
use biome_js_syntax::parentheses::NeedsParentheses;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectAssignmentPattern;
impl FormatNodeRule<JsObjectAssignmentPatte... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/assignments/array_assignment_pattern.rs | crates/biome_js_formatter/src/js/assignments/array_assignment_pattern.rs | use crate::prelude::*;
use biome_formatter::write;
use biome_js_syntax::JsArrayAssignmentPattern;
use biome_js_syntax::JsArrayAssignmentPatternFields;
use biome_js_syntax::parentheses::NeedsParentheses;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsArrayAssignmentPattern;
impl FormatNodeRule<JsArrayAssig... | rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/bogus/bogus_parameter.rs | crates/biome_js_formatter/src/js/bogus/bogus_parameter.rs | use crate::FormatBogusNodeRule;
use biome_js_syntax::JsBogusParameter;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsBogusParameter;
impl FormatBogusNodeRule<JsBogusParameter> for FormatJsBogusParameter {}
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/bogus/bogus_assignment.rs | crates/biome_js_formatter/src/js/bogus/bogus_assignment.rs | use crate::FormatBogusNodeRule;
use biome_js_syntax::JsBogusAssignment;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsBogusAssignment;
impl FormatBogusNodeRule<JsBogusAssignment> for FormatJsBogusAssignment {}
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/bogus/bogus_import_assertion_entry.rs | crates/biome_js_formatter/src/js/bogus/bogus_import_assertion_entry.rs | use crate::FormatBogusNodeRule;
use biome_js_syntax::JsBogusImportAssertionEntry;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsBogusImportAssertionEntry;
impl FormatBogusNodeRule<JsBogusImportAssertionEntry> for FormatJsBogusImportAssertionEntry {}
| rust | Apache-2.0 | 499594b74475be0ae81ce50858e76c9c97b8c48f | 2026-01-04T15:39:05.365085Z | false |
biomejs/biome | https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_formatter/src/js/bogus/bogus_statement.rs | crates/biome_js_formatter/src/js/bogus/bogus_statement.rs | use crate::FormatBogusNodeRule;
use biome_js_syntax::JsBogusStatement;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsBogusStatement;
impl FormatBogusNodeRule<JsBogusStatement> for FormatJsBogusStatement {}
| 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.