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 |
|---|---|---|---|---|---|---|---|---|
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/bindings/formal_parameter.rs | crates/rome_js_formatter/src/js/bindings/formal_parameter.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::utils::FormatInitializerClause;
use crate::js::bindings::parameters::{should_hug_function_parameters, FormatAnyJsParameters};
use rome_js_syntax::JsFormalParameter;
use rome_js_syntax::JsFormalParameterFields;
#[derive(Debug, Clone, Default)]
pub(crate) st... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/bindings/identifier_binding.rs | crates/rome_js_formatter/src/js/bindings/identifier_binding.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsIdentifierBinding;
use rome_js_syntax::JsIdentifierBindingFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsIdentifierBinding;
impl FormatNodeRule<JsIdentifierBinding> for FormatJsIdentifierBinding {
fn fmt_fields(&self, nod... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/bindings/binding_pattern_with_default.rs | crates/rome_js_formatter/src/js/bindings/binding_pattern_with_default.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsBindingPatternWithDefault;
use rome_js_syntax::JsBindingPatternWithDefaultFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsBindingPatternWithDefault;
impl FormatNodeRule<JsBindingPatternWithDefault> for FormatJsBindingPatternWi... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/bindings/rest_parameter.rs | crates/rome_js_formatter/src/js/bindings/rest_parameter.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsRestParameter;
use rome_js_syntax::JsRestParameterFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsRestParameter;
impl FormatNodeRule<JsRestParameter> for FormatJsRestParameter {
fn fmt_fields(&self, node: &JsRestParameter,... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/bindings/object_binding_pattern.rs | crates/rome_js_formatter/src/js/bindings/object_binding_pattern.rs | use crate::prelude::*;
use crate::utils::JsObjectPatternLike;
use rome_formatter::write;
use rome_js_syntax::JsObjectBindingPattern;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectBindingPattern;
impl FormatNodeRule<JsObjectBindingPattern> for FormatJsObjectBindingPattern {
fn fmt_fields(&self, ... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/bindings/object_binding_pattern_shorthand_property.rs | crates/rome_js_formatter/src/js/bindings/object_binding_pattern_shorthand_property.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsObjectBindingPatternShorthandProperty;
use rome_js_syntax::JsObjectBindingPatternShorthandPropertyFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectBindingPatternShorthandProperty;
impl FormatNodeRule<JsObjectBindingPatter... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/expression_snipped.rs | crates/rome_js_formatter/src/js/auxiliary/expression_snipped.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsExpressionSnipped;
use rome_js_syntax::JsExpressionSnippedFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExpressionSnipped;
impl FormatNodeRule<JsExpressionSnipped> for FormatJsExpressionSnipped {
fn fmt_fields(&self, nod... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/catch_clause.rs | crates/rome_js_formatter/src/js/auxiliary/catch_clause.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsCatchClause;
use rome_js_syntax::JsCatchClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsCatchClause;
impl FormatNodeRule<JsCatchClause> for FormatJsCatchClause {
fn fmt_fields(&self, node: &JsCatchClause, f: &mut JsFo... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/reference_identifier.rs | crates/rome_js_formatter/src/js/auxiliary/reference_identifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsReferenceIdentifier;
use rome_js_syntax::JsReferenceIdentifierFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsReferenceIdentifier;
impl FormatNodeRule<JsReferenceIdentifier> for FormatJsReferenceIdentifier {
fn fmt_fields(... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/decorator.rs | crates/rome_js_formatter/src/js/auxiliary/decorator.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::{JsDecorator, JsDecoratorFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsDecorator;
impl FormatNodeRule<JsDecorator> for FormatJsDecorator {
fn fmt_fields(&self, node: &JsDecorator, f: &mut JsFormatter) -> FormatResult<()> {
... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/static_modifier.rs | crates/rome_js_formatter/src/js/auxiliary/static_modifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsStaticModifier;
use rome_js_syntax::JsStaticModifierFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsStaticModifier;
impl FormatNodeRule<JsStaticModifier> for FormatJsStaticModifier {
fn fmt_fields(&self, node: &JsStaticMod... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/module.rs | crates/rome_js_formatter/src/js/auxiliary/module.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::utils::FormatInterpreterToken;
use rome_js_syntax::JsModule;
use rome_js_syntax::JsModuleFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsModule;
impl FormatNodeRule<JsModule> for FormatJsModule {
fn fmt_fields(&self, node: &JsModule... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/else_clause.rs | crates/rome_js_formatter/src/js/auxiliary/else_clause.rs | use crate::prelude::*;
use crate::utils::FormatStatementBody;
use rome_formatter::write;
use rome_js_syntax::JsElseClause;
use rome_js_syntax::JsElseClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsElseClause;
impl FormatNodeRule<JsElseClause> for FormatJsElseClause {
fn fmt_fields(&self,... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/finally_clause.rs | crates/rome_js_formatter/src/js/auxiliary/finally_clause.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsFinallyClause;
use rome_js_syntax::JsFinallyClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsFinallyClause;
impl FormatNodeRule<JsFinallyClause> for FormatJsFinallyClause {
fn fmt_fields(&self, node: &JsFinallyClause,... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/directive.rs | crates/rome_js_formatter/src/js/auxiliary/directive.rs | use crate::prelude::*;
use crate::utils::{FormatLiteralStringToken, FormatStatementSemicolon, StringLiteralParentKind};
use rome_formatter::write;
use rome_js_syntax::JsDirective;
use rome_js_syntax::JsDirectiveFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsDirective;
impl FormatNodeRule<JsDirect... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/template_element.rs | crates/rome_js_formatter/src/js/auxiliary/template_element.rs | use crate::prelude::*;
use rome_formatter::prelude::tag::Tag;
use rome_formatter::{
format_args, write, CstFormatContext, FormatRuleWithOptions, RemoveSoftLinesBuffer,
};
use crate::context::TabWidth;
use crate::js::expressions::array_expression::FormatJsArrayExpressionOptions;
use crate::js::lists::template_eleme... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/initializer_clause.rs | crates/rome_js_formatter/src/js/auxiliary/initializer_clause.rs | use crate::prelude::*;
use crate::utils::{with_assignment_layout, AssignmentLikeLayout};
use rome_formatter::{write, FormatRuleWithOptions};
use rome_js_syntax::JsInitializerClause;
use rome_js_syntax::JsInitializerClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsInitializerClause {
assign... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/case_clause.rs | crates/rome_js_formatter/src/js/auxiliary/case_clause.rs | use crate::prelude::*;
use rome_formatter::{format_args, write};
use rome_js_syntax::AnyJsStatement;
use rome_js_syntax::JsCaseClause;
use rome_js_syntax::JsCaseClauseFields;
use rome_rowan::AstNodeList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsCaseClause;
impl FormatNodeRule<JsCaseClause> for Forma... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/function_body.rs | crates/rome_js_formatter/src/js/auxiliary/function_body.rs | use crate::prelude::*;
use rome_formatter::{format_args, write};
use rome_js_syntax::JsFunctionBody;
use rome_js_syntax::JsFunctionBodyFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsFunctionBody;
impl FormatNodeRule<JsFunctionBody> for FormatJsFunctionBody {
fn fmt_fields(&self, node: &JsFunc... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/default_clause.rs | crates/rome_js_formatter/src/js/auxiliary/default_clause.rs | use crate::prelude::*;
use rome_formatter::{format_args, write};
use rome_js_syntax::JsDefaultClause;
use rome_js_syntax::{AnyJsStatement, JsDefaultClauseFields};
use rome_rowan::AstNodeList;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsDefaultClause;
impl FormatNodeRule<JsDefaultClause> for FormatJsDef... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/mod.rs | crates/rome_js_formatter/src/js/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 accessor_modifier;
pub(crate) mod array_hole;
pub(crate) mod case_clause;
pub(crate) mod catch_clause;
pub(crate) mod decorator;
pub(crate) mod default_clause;
pub(crate) mod directive;
pub(crat... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/template_chunk_element.rs | crates/rome_js_formatter/src/js/auxiliary/template_chunk_element.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::{JsSyntaxToken, JsTemplateChunkElement, TsTemplateChunkElement};
use rome_rowan::{declare_node_union, SyntaxResult};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsTemplateChunkElement;
impl FormatNodeRule<JsTemplateChunkElement> for F... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/name.rs | crates/rome_js_formatter/src/js/auxiliary/name.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsName;
use rome_js_syntax::JsNameFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsName;
impl FormatNodeRule<JsName> for FormatJsName {
fn fmt_fields(&self, node: &JsName, f: &mut JsFormatter) -> FormatResult<()> {
le... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/script.rs | crates/rome_js_formatter/src/js/auxiliary/script.rs | use crate::prelude::*;
use crate::utils::FormatInterpreterToken;
use rome_formatter::write;
use rome_js_syntax::JsScript;
use rome_js_syntax::JsScriptFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsScript;
impl FormatNodeRule<JsScript> for FormatJsScript {
fn fmt_fields(&self, node: &JsScript,... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/spread.rs | crates/rome_js_formatter/src/js/auxiliary/spread.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsSpread;
use rome_js_syntax::JsSpreadFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsSpread;
impl FormatNodeRule<JsSpread> for FormatJsSpread {
fn fmt_fields(&self, node: &JsSpread, f: &mut JsFormatter) -> FormatResult<()> ... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/private_name.rs | crates/rome_js_formatter/src/js/auxiliary/private_name.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsPrivateName;
use rome_js_syntax::JsPrivateNameFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsPrivateName;
impl FormatNodeRule<JsPrivateName> for FormatJsPrivateName {
fn fmt_fields(&self, node: &JsPrivateName, f: &mut JsF... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/variable_declaration_clause.rs | crates/rome_js_formatter/src/js/auxiliary/variable_declaration_clause.rs | use crate::prelude::*;
use crate::utils::FormatStatementSemicolon;
use rome_formatter::write;
use rome_js_syntax::JsVariableDeclarationClause;
use rome_js_syntax::JsVariableDeclarationClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsVariableDeclarationClause;
impl FormatNodeRule<JsVariableDec... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/array_hole.rs | crates/rome_js_formatter/src/js/auxiliary/array_hole.rs | use crate::prelude::*;
use rome_js_syntax::JsArrayHole;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsArrayHole;
impl FormatNodeRule<JsArrayHole> for FormatJsArrayHole {
fn fmt_fields(&self, _: &JsArrayHole, _: &mut JsFormatter) -> FormatResult<()> {
Ok(())
}
}
| rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/variable_declarator.rs | crates/rome_js_formatter/src/js/auxiliary/variable_declarator.rs | use crate::prelude::*;
use crate::utils::AnyJsAssignmentLike;
use rome_formatter::write;
use rome_js_syntax::JsVariableDeclarator;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsVariableDeclarator;
impl FormatNodeRule<JsVariableDeclarator> for FormatJsVariableDeclarator {
fn fmt_fields(&self, node: &J... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/auxiliary/accessor_modifier.rs | crates/rome_js_formatter/src/js/auxiliary/accessor_modifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::{JsAccessorModifier, JsAccessorModifierFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsAccessorModifier;
impl FormatNodeRule<JsAccessorModifier> for FormatJsAccessorModifier {
fn fmt_fields(&self, node: &JsAccessorModifier, ... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/template_expression.rs | crates/rome_js_formatter/src/js/expressions/template_expression.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::js::expressions::static_member_expression::member_chain_callee_needs_parens;
use crate::js::lists::template_element_list::FormatJsTemplateElementListOptions;
use crate::parentheses::NeedsParentheses;
use crate::utils::test_call::is_test_each_pattern;
use rom... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/sequence_expression.rs | crates/rome_js_formatter/src/js/expressions/sequence_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_formatter::{format_args, write};
use rome_js_syntax::JsSyntaxKind::JS_SEQUENCE_EXPRESSION;
use rome_js_syntax::{
JsSequenceExpression, JsSequenceExpressionFields, JsSyntaxKind, JsSyntaxNode,
};
use rome_rowan::AstNode;
#[derive(Debug, Clone... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/conditional_expression.rs | crates/rome_js_formatter/src/js/expressions/conditional_expression.rs | use crate::prelude::*;
use crate::utils::{AnyJsConditional, ConditionalJsxChain};
use rome_formatter::FormatRuleWithOptions;
use crate::parentheses::{
is_binary_like_left_or_right, is_conditional_test, is_spread,
update_or_lower_expression_needs_parentheses, NeedsParentheses,
};
use rome_js_syntax::{JsConditio... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/regex_literal_expression.rs | crates/rome_js_formatter/src/js/expressions/regex_literal_expression.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::JsRegexLiteralExpressionFields;
use rome_js_syntax::{JsRegexLiteralExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsRegexLiteralExpression;
impl FormatNodeRule<JsRegexL... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/new_target_expression.rs | crates/rome_js_formatter/src/js/expressions/new_target_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_formatter::write;
use rome_js_syntax::JsNewTargetExpressionFields;
use rome_js_syntax::{JsNewTargetExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsNewTargetExpression;
impl FormatNodeRule<JsNewTargetExpres... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/bigint_literal_expression.rs | crates/rome_js_formatter/src/js/expressions/bigint_literal_expression.rs | use rome_formatter::token::string::ToAsciiLowercaseCow;
use rome_formatter::write;
use std::borrow::Cow;
use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::JsBigintLiteralExpressionFields;
use rome_js_syntax::{JsBigintLiteralExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/unary_expression.rs | crates/rome_js_formatter/src/js/expressions/unary_expression.rs | use crate::prelude::*;
use rome_formatter::{format_args, write};
use crate::parentheses::{unary_like_expression_needs_parentheses, NeedsParentheses};
use rome_js_syntax::JsSyntaxNode;
use rome_js_syntax::JsUnaryExpression;
use rome_js_syntax::{JsUnaryExpressionFields, JsUnaryOperator};
use rome_rowan::match_ast;
#[d... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/boolean_literal_expression.rs | crates/rome_js_formatter/src/js/expressions/boolean_literal_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_formatter::write;
use rome_js_syntax::JsBooleanLiteralExpressionFields;
use rome_js_syntax::{JsBooleanLiteralExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsBooleanLiteralExpression;
impl FormatNodeRule<Js... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/string_literal_expression.rs | crates/rome_js_formatter/src/js/expressions/string_literal_expression.rs | use crate::prelude::*;
use crate::utils::{FormatLiteralStringToken, StringLiteralParentKind};
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::JsStringLiteralExpressionFields;
use rome_js_syntax::{JsExpressionStatement, JsSyntaxKind};
use rome_js_syntax::{JsStringLiteralExpression, JsSyntaxNode};
use rom... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/static_member_expression.rs | crates/rome_js_formatter/src/js/expressions/static_member_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use crate::JsLabels;
use rome_formatter::{format_args, write};
use rome_js_syntax::{
AnyJsAssignment, AnyJsAssignmentPattern, AnyJsComputedMember, AnyJsExpression, AnyJsName,
JsAssignmentExpression, JsInitializerClause, JsStaticMemberAssignment,
... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/import_call_expression.rs | crates/rome_js_formatter/src/js/expressions/import_call_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_formatter::write;
use rome_js_syntax::JsImportCallExpressionFields;
use rome_js_syntax::{JsImportCallExpression, JsSyntaxKind, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsImportCallExpression;
impl FormatNodeRule<... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/post_update_expression.rs | crates/rome_js_formatter/src/js/expressions/post_update_expression.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::parentheses::{unary_like_expression_needs_parentheses, NeedsParentheses};
use rome_js_syntax::JsPostUpdateExpressionFields;
use rome_js_syntax::{JsPostUpdateExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsPostUpdateExpr... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/parenthesized_expression.rs | crates/rome_js_formatter/src/js/expressions/parenthesized_expression.rs | use crate::prelude::*;
use rome_formatter::{format_args, write, CstFormatContext};
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::{
AnyJsExpression, JsParenthesizedExpression, JsParenthesizedExpressionFields, JsSyntaxNode,
};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsParenthesizedE... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/pre_update_expression.rs | crates/rome_js_formatter/src/js/expressions/pre_update_expression.rs | use crate::parentheses::{unary_like_expression_needs_parentheses, NeedsParentheses};
use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsPreUpdateExpressionFields;
use rome_js_syntax::{
JsPreUpdateExpression, JsPreUpdateOperator, JsSyntaxNode, JsUnaryExpression, JsUnaryOperator,
};
use rome_row... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/class_expression.rs | crates/rome_js_formatter/src/js/expressions/class_expression.rs | use crate::prelude::*;
use crate::utils::format_class::FormatClass;
use rome_formatter::{format_args, write};
use crate::parentheses::{
is_callee, is_first_in_statement, FirstInStatementMode, NeedsParentheses,
};
use rome_js_syntax::{JsClassExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) st... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/in_expression.rs | crates/rome_js_formatter/src/js/expressions/in_expression.rs | use crate::prelude::*;
use crate::utils::{needs_binary_like_parentheses, AnyJsBinaryLikeExpression};
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::{AnyJsStatement, JsForStatement, JsInExpression, JsSyntaxNode};
use rome_rowan::AstNode;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsInExpr... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/array_expression.rs | crates/rome_js_formatter/src/js/expressions/array_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_formatter::{write, FormatRuleWithOptions};
use rome_js_syntax::{
AnyJsArrayElement, AnyJsExpression, JsArrayElementList, JsArrayExpressionFields,
};
use rome_js_syntax::{JsArrayExpression, JsSyntaxNode};
use rome_rowan::SyntaxResult;
#[deri... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/new_expression.rs | crates/rome_js_formatter/src/js/expressions/new_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_formatter::write;
use rome_js_syntax::{JsNewExpression, JsSyntaxKind};
use rome_js_syntax::{JsNewExpressionFields, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsNewExpression;
impl FormatNodeRule<JsNewExpression> fo... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/instanceof_expression.rs | crates/rome_js_formatter/src/js/expressions/instanceof_expression.rs | use crate::prelude::*;
use crate::utils::{needs_binary_like_parentheses, AnyJsBinaryLikeExpression};
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::{JsInstanceofExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsInstanceofExpression;
impl FormatNodeRule<JsInstanceofE... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/null_literal_expression.rs | crates/rome_js_formatter/src/js/expressions/null_literal_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_formatter::write;
use rome_js_syntax::JsNullLiteralExpressionFields;
use rome_js_syntax::{JsNullLiteralExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsNullLiteralExpression;
impl FormatNodeRule<JsNullLiter... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/object_expression.rs | crates/rome_js_formatter/src/js/expressions/object_expression.rs | use crate::parentheses::{is_first_in_statement, FirstInStatementMode, NeedsParentheses};
use crate::prelude::*;
use crate::utils::JsObjectLike;
use rome_formatter::write;
use rome_js_syntax::{JsObjectExpression, JsSyntaxKind, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsObjectExpression;
... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/mod.rs | crates/rome_js_formatter/src/js/expressions/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_expression;
pub(crate) mod arrow_function_expression;
pub(crate) mod assignment_expression;
pub(crate) mod await_expression;
pub(crate) mod bigint_literal_expression;
pub(crate) mod binary... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/computed_member_expression.rs | crates/rome_js_formatter/src/js/expressions/computed_member_expression.rs | use crate::prelude::*;
use crate::js::expressions::static_member_expression::member_chain_callee_needs_parens;
use crate::parentheses::NeedsParentheses;
use rome_formatter::{format_args, write};
use rome_js_syntax::{
AnyJsComputedMember, AnyJsExpression, AnyJsLiteralExpression, JsComputedMemberExpression,
JsSy... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/call_expression.rs | crates/rome_js_formatter/src/js/expressions/call_expression.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::parentheses::NeedsParentheses;
use crate::utils::member_chain::MemberChain;
use rome_js_syntax::{
AnyJsExpression, JsCallExpression, JsCallExpressionFields, JsSyntaxKind, JsSyntaxNode,
};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsCallEx... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/await_expression.rs | crates/rome_js_formatter/src/js/expressions/await_expression.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::parentheses::{
is_binary_like_left_or_right, is_callee, is_conditional_test, is_member_object, is_spread,
update_or_lower_expression_needs_parentheses, NeedsParentheses,
};
use rome_js_syntax::{JsAwaitExpression, JsSyntaxNode};
use rome_js_syntax::{... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/identifier_expression.rs | crates/rome_js_formatter/src/js/expressions/identifier_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_formatter::write;
use rome_js_syntax::JsIdentifierExpressionFields;
use rome_js_syntax::{JsIdentifierExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsIdentifierExpression;
impl FormatNodeRule<JsIdentifierEx... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/number_literal_expression.rs | crates/rome_js_formatter/src/js/expressions/number_literal_expression.rs | use crate::prelude::*;
use rome_formatter::token::number::format_number_token;
use crate::parentheses::{is_member_object, NeedsParentheses};
use rome_js_syntax::JsNumberLiteralExpression;
use rome_js_syntax::{JsNumberLiteralExpressionFields, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsNu... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/logical_expression.rs | crates/rome_js_formatter/src/js/expressions/logical_expression.rs | use crate::prelude::*;
use crate::utils::{needs_binary_like_parentheses, AnyJsBinaryLikeExpression};
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::{JsLogicalExpression, JsSyntaxNode};
use rome_rowan::AstNode;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsLogicalExpression;
impl FormatNod... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/call_arguments.rs | crates/rome_js_formatter/src/js/expressions/call_arguments.rs | use crate::context::trailing_comma::FormatTrailingComma;
use crate::js::declarations::function_declaration::FormatFunctionOptions;
use crate::js::expressions::arrow_function_expression::{
is_multiline_template_starting_on_same_line, FormatJsArrowFunctionExpressionOptions,
};
use crate::js::lists::array_element_list... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | true |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/super_expression.rs | crates/rome_js_formatter/src/js/expressions/super_expression.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::JsSuperExpressionFields;
use rome_js_syntax::{JsSuperExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsSuperExpression;
impl FormatNodeRule<JsSuperExpression> for Format... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/yield_expression.rs | crates/rome_js_formatter/src/js/expressions/yield_expression.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::js::expressions::await_expression::await_or_yield_needs_parens;
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::{JsSyntaxKind, JsYieldExpressionFields};
use rome_js_syntax::{JsSyntaxNode, JsYieldExpression};
#[derive(Debug, Clone, Default)]
pu... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/assignment_expression.rs | crates/rome_js_formatter/src/js/expressions/assignment_expression.rs | use crate::prelude::*;
use crate::utils::AnyJsAssignmentLike;
use crate::parentheses::{
is_arrow_function_body, is_first_in_statement, FirstInStatementMode, NeedsParentheses,
};
use rome_formatter::write;
use rome_js_syntax::{
AnyJsAssignmentPattern, AnyJsForInitializer, JsArrowFunctionExpression, JsAssignmen... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/function_expression.rs | crates/rome_js_formatter/src/js/expressions/function_expression.rs | use crate::prelude::*;
use crate::js::declarations::function_declaration::{FormatFunction, FormatFunctionOptions};
use crate::parentheses::{
is_callee, is_first_in_statement, is_tag, FirstInStatementMode, NeedsParentheses,
};
use rome_formatter::FormatRuleWithOptions;
use rome_js_syntax::{JsFunctionExpression, Js... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/yield_argument.rs | crates/rome_js_formatter/src/js/expressions/yield_argument.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsYieldArgument;
use rome_js_syntax::JsYieldArgumentFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsYieldArgument;
impl FormatNodeRule<JsYieldArgument> for FormatJsYieldArgument {
fn fmt_fields(&self, node: &JsYieldArgument,... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/import_meta_expression.rs | crates/rome_js_formatter/src/js/expressions/import_meta_expression.rs | use crate::prelude::*;
use crate::parentheses::NeedsParentheses;
use rome_formatter::write;
use rome_js_syntax::JsImportMetaExpressionFields;
use rome_js_syntax::{JsImportMetaExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsImportMetaExpression;
impl FormatNodeRule<JsImportMetaEx... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/this_expression.rs | crates/rome_js_formatter/src/js/expressions/this_expression.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::JsThisExpressionFields;
use rome_js_syntax::{JsSyntaxNode, JsThisExpression};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsThisExpression;
impl FormatNodeRule<JsThisExpression> for FormatJsTh... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/binary_expression.rs | crates/rome_js_formatter/src/js/expressions/binary_expression.rs | use crate::prelude::*;
use crate::utils::{needs_binary_like_parentheses, AnyJsBinaryLikeExpression};
use crate::parentheses::NeedsParentheses;
use rome_js_syntax::{JsBinaryExpression, JsSyntaxNode};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsBinaryExpression;
impl FormatNodeRule<JsBinaryExpression> f... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/expressions/arrow_function_expression.rs | crates/rome_js_formatter/src/js/expressions/arrow_function_expression.rs | use crate::prelude::*;
use rome_formatter::{
format_args, write, CstFormatContext, FormatRuleWithOptions, RemoveSoftLinesBuffer,
};
use std::iter::once;
use crate::context::trailing_comma::FormatTrailingComma;
use crate::js::expressions::call_arguments::GroupedCallArgumentLayout;
use crate::parentheses::{
is_b... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/import_bare_clause.rs | crates/rome_js_formatter/src/js/module/import_bare_clause.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsImportBareClause;
use rome_js_syntax::JsImportBareClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsImportBareClause;
impl FormatNodeRule<JsImportBareClause> for FormatJsImportBareClause {
fn fmt_fields(&self, node: &J... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export_as_clause.rs | crates/rome_js_formatter/src/js/module/export_as_clause.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsExportAsClause;
use rome_js_syntax::JsExportAsClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportAsClause;
impl FormatNodeRule<JsExportAsClause> for FormatJsExportAsClause {
fn fmt_fields(&self, node: &JsExportAsC... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export_named_from_clause.rs | crates/rome_js_formatter/src/js/module/export_named_from_clause.rs | use crate::prelude::*;
use crate::utils::FormatStatementSemicolon;
use rome_formatter::write;
use rome_js_syntax::JsExportNamedFromClause;
use rome_js_syntax::JsExportNamedFromClauseFields;
use rome_rowan::{AstNode, AstSeparatedElement};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportNamedFromClause... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export_named_clause.rs | crates/rome_js_formatter/src/js/module/export_named_clause.rs | use crate::prelude::*;
use rome_formatter::{format_args, write};
use crate::utils::FormatStatementSemicolon;
use rome_js_syntax::JsExportNamedClause;
use rome_js_syntax::JsExportNamedClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportNamedClause;
impl FormatNodeRule<JsExportNamedClause> ... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/named_import_specifier.rs | crates/rome_js_formatter/src/js/module/named_import_specifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsNamedImportSpecifier;
use rome_js_syntax::JsNamedImportSpecifierFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsNamedImportSpecifier;
impl FormatNodeRule<JsNamedImportSpecifier> for FormatJsNamedImportSpecifier {
fn fmt_fi... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/import_namespace_clause.rs | crates/rome_js_formatter/src/js/module/import_namespace_clause.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsImportNamespaceClause;
use rome_js_syntax::JsImportNamespaceClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsImportNamespaceClause;
impl FormatNodeRule<JsImportNamespaceClause> for FormatJsImportNamespaceClause {
fn f... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export_default_expression_clause.rs | crates/rome_js_formatter/src/js/module/export_default_expression_clause.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::utils::FormatStatementSemicolon;
use rome_js_syntax::JsExportDefaultExpressionClause;
use rome_js_syntax::JsExportDefaultExpressionClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportDefaultExpressionClause;
impl FormatNodeRule<... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export_named_specifier.rs | crates/rome_js_formatter/src/js/module/export_named_specifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsExportNamedSpecifier;
use rome_js_syntax::JsExportNamedSpecifierFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportNamedSpecifier;
impl FormatNodeRule<JsExportNamedSpecifier> for FormatJsExportNamedSpecifier {
fn fmt_fi... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/namespace_import_specifier.rs | crates/rome_js_formatter/src/js/module/namespace_import_specifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsNamespaceImportSpecifier;
use rome_js_syntax::JsNamespaceImportSpecifierFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsNamespaceImportSpecifier;
impl FormatNodeRule<JsNamespaceImportSpecifier> for FormatJsNamespaceImportSpeci... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/named_import_specifiers.rs | crates/rome_js_formatter/src/js/module/named_import_specifiers.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsNamedImportSpecifiers;
use rome_js_syntax::JsNamedImportSpecifiersFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsNamedImportSpecifiers;
impl FormatNodeRule<JsNamedImportSpecifiers> for FormatJsNamedImportSpecifiers {
fn f... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/default_import_specifier.rs | crates/rome_js_formatter/src/js/module/default_import_specifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsDefaultImportSpecifier;
use rome_js_syntax::JsDefaultImportSpecifierFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsDefaultImportSpecifier;
impl FormatNodeRule<JsDefaultImportSpecifier> for FormatJsDefaultImportSpecifier {
... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export_default_declaration_clause.rs | crates/rome_js_formatter/src/js/module/export_default_declaration_clause.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::{JsExportDefaultDeclarationClause, JsExportDefaultDeclarationClauseFields};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportDefaultDeclarationClause;
impl FormatNodeRule<JsExportDefaultDeclarationClause> for FormatJsExportDefaultD... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/mod.rs | crates/rome_js_formatter/src/js/module/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 default_import_specifier;
pub(crate) mod export;
pub(crate) mod export_as_clause;
pub(crate) mod export_default_declaration_clause;
pub(crate) mod export_default_expression_clause;
pub(crate) mo... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/import_default_clause.rs | crates/rome_js_formatter/src/js/module/import_default_clause.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsImportDefaultClause;
use rome_js_syntax::JsImportDefaultClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsImportDefaultClause;
impl FormatNodeRule<JsImportDefaultClause> for FormatJsImportDefaultClause {
fn fmt_fields(... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/literal_export_name.rs | crates/rome_js_formatter/src/js/module/literal_export_name.rs | use crate::prelude::*;
use crate::utils::{FormatLiteralStringToken, StringLiteralParentKind};
use rome_js_syntax::JsLiteralExportName;
use rome_js_syntax::JsLiteralExportNameFields;
use rome_js_syntax::JsSyntaxKind::JS_STRING_LITERAL;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsLiteralExportName;
impl... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/module_source.rs | crates/rome_js_formatter/src/js/module/module_source.rs | use crate::prelude::*;
use crate::utils::{FormatLiteralStringToken, StringLiteralParentKind};
use rome_formatter::write;
use rome_js_syntax::JsModuleSource;
use rome_js_syntax::JsModuleSourceFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsModuleSource;
impl FormatNodeRule<JsModuleSource> for Forma... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export.rs | crates/rome_js_formatter/src/js/module/export.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsExport;
use rome_js_syntax::JsExportFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExport;
impl FormatNodeRule<JsExport> for FormatJsExport {
fn fmt_fields(&self, node: &JsExport, f: &mut JsFormatter) -> FormatResult<()> ... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/import.rs | crates/rome_js_formatter/src/js/module/import.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::utils::FormatStatementSemicolon;
use rome_js_syntax::JsImport;
use rome_js_syntax::JsImportFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsImport;
impl FormatNodeRule<JsImport> for FormatJsImport {
fn fmt_fields(&self, node: &JsImpo... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export_from_clause.rs | crates/rome_js_formatter/src/js/module/export_from_clause.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::utils::FormatStatementSemicolon;
use rome_js_syntax::JsExportFromClause;
use rome_js_syntax::JsExportFromClauseFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportFromClause;
impl FormatNodeRule<JsExportFromClause> for FormatJsExportF... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/import_named_clause.rs | crates/rome_js_formatter/src/js/module/import_named_clause.rs | use crate::prelude::*;
use rome_formatter::{write, CstFormatContext};
use rome_js_syntax::AnyJsNamedImport;
use rome_js_syntax::AnyJsNamedImportSpecifier;
use rome_js_syntax::JsImportNamedClause;
use rome_js_syntax::JsImportNamedClauseFields;
use rome_js_syntax::JsNamedImportSpecifiersFields;
#[derive(Debug, Clone, D... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/import_assertion.rs | crates/rome_js_formatter/src/js/module/import_assertion.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsImportAssertion;
use rome_js_syntax::JsImportAssertionFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsImportAssertion;
impl FormatNodeRule<JsImportAssertion> for FormatJsImportAssertion {
fn fmt_fields(&self, node: &JsImpo... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/shorthand_named_import_specifier.rs | crates/rome_js_formatter/src/js/module/shorthand_named_import_specifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsShorthandNamedImportSpecifier;
use rome_js_syntax::JsShorthandNamedImportSpecifierFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsShorthandNamedImportSpecifier;
impl FormatNodeRule<JsShorthandNamedImportSpecifier> for FormatJs... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export_named_shorthand_specifier.rs | crates/rome_js_formatter/src/js/module/export_named_shorthand_specifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsExportNamedShorthandSpecifier;
use rome_js_syntax::JsExportNamedShorthandSpecifierFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportNamedShorthandSpecifier;
impl FormatNodeRule<JsExportNamedShorthandSpecifier> for FormatJs... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/import_assertion_entry.rs | crates/rome_js_formatter/src/js/module/import_assertion_entry.rs | use crate::prelude::*;
use rome_formatter::write;
use crate::utils::{FormatLiteralStringToken, StringLiteralParentKind};
use rome_js_syntax::JsImportAssertionEntryFields;
use rome_js_syntax::{JsImportAssertionEntry, JsSyntaxKind};
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsImportAssertionEntry;
impl... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/module/export_named_from_specifier.rs | crates/rome_js_formatter/src/js/module/export_named_from_specifier.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsExportNamedFromSpecifier;
use rome_js_syntax::JsExportNamedFromSpecifierFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExportNamedFromSpecifier;
impl FormatNodeRule<JsExportNamedFromSpecifier> for FormatJsExportNamedFromSpeci... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/classes/setter_class_member.rs | crates/rome_js_formatter/src/js/classes/setter_class_member.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsSetterClassMember;
use rome_js_syntax::JsSetterClassMemberFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsSetterClassMember;
impl FormatNodeRule<JsSetterClassMember> for FormatJsSetterClassMember {
fn fmt_fields(&self, nod... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/classes/property_class_member.rs | crates/rome_js_formatter/src/js/classes/property_class_member.rs | use crate::context::Semicolons;
use crate::prelude::*;
use crate::utils::{AnyJsAssignmentLike, FormatSemicolon};
use rome_formatter::write;
use rome_js_syntax::{
AnyJsClassMember, AnyJsClassMemberName, JsInitializerClause, JsPropertyClassMember,
JsSyntaxToken, TsInitializedPropertySignatureClassMember, TsProper... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/classes/empty_class_member.rs | crates/rome_js_formatter/src/js/classes/empty_class_member.rs | use crate::prelude::*;
use rome_js_syntax::JsEmptyClassMember;
use rome_js_syntax::JsEmptyClassMemberFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsEmptyClassMember;
impl FormatNodeRule<JsEmptyClassMember> for FormatJsEmptyClassMember {
fn fmt_fields(&self, node: &JsEmptyClassMember, f: &mut ... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/classes/method_class_member.rs | crates/rome_js_formatter/src/js/classes/method_class_member.rs | use crate::prelude::*;
use crate::js::declarations::function_declaration::should_group_function_parameters;
use rome_formatter::write;
use rome_js_syntax::{
AnyJsClassMemberName, AnyJsObjectMemberName, JsConstructorClassMember, JsConstructorParameters,
JsFunctionBody, JsParameters, TsMethodSignatureClassMember... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/classes/mod.rs | crates/rome_js_formatter/src/js/classes/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 constructor_class_member;
pub(crate) mod empty_class_member;
pub(crate) mod extends_clause;
pub(crate) mod getter_class_member;
pub(crate) mod method_class_member;
pub(crate) mod property_class_... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/classes/getter_class_member.rs | crates/rome_js_formatter/src/js/classes/getter_class_member.rs | use crate::prelude::*;
use rome_formatter::write;
use rome_js_syntax::JsGetterClassMember;
use rome_js_syntax::JsGetterClassMemberFields;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsGetterClassMember;
impl FormatNodeRule<JsGetterClassMember> for FormatJsGetterClassMember {
fn fmt_fields(&self, nod... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
rome/tools | https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/classes/extends_clause.rs | crates/rome_js_formatter/src/js/classes/extends_clause.rs | use crate::prelude::*;
use rome_formatter::{format_args, write};
use rome_js_syntax::JsExtendsClause;
use rome_js_syntax::JsExtendsClauseFields;
use rome_js_syntax::JsSyntaxKind::JS_ASSIGNMENT_EXPRESSION;
#[derive(Debug, Clone, Default)]
pub(crate) struct FormatJsExtendsClause;
impl FormatNodeRule<JsExtendsClause> f... | rust | MIT | 392d188a49d70e495f13b1bb08cd7d9c43690f9b | 2026-01-04T15:38:12.578592Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.