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/utils/typescript.rs
crates/rome_js_formatter/src/utils/typescript.rs
use rome_js_syntax::{ AnyTsType, JsSyntaxKind, JsSyntaxNode, TsIntersectionTypeElementList, TsUnionTypeVariantList, }; use rome_rowan::AstSeparatedList; use crate::parentheses::{ is_in_many_type_union_or_intersection_list, operator_type_or_higher_needs_parens, }; /// Utility function that checks if the curren...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/function_body.rs
crates/rome_js_formatter/src/utils/function_body.rs
use crate::prelude::*; use rome_formatter::write; use rome_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 retri...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/object_pattern_like.rs
crates/rome_js_formatter/src/utils/object_pattern_like.rs
use crate::js::bindings::parameters::{should_hug_function_parameters, FormatAnyJsParameters}; use crate::prelude::*; use crate::JsFormatContext; use rome_formatter::formatter::Formatter; use rome_formatter::write; use rome_formatter::{Format, FormatResult}; use rome_js_syntax::{ AnyJsAssignmentPattern, AnyJsBinding...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/format_modifiers.rs
crates/rome_js_formatter/src/utils/format_modifiers.rs
use crate::prelude::*; use crate::utils::sort_modifiers_by_precedence; use crate::{AsFormat, IntoFormat}; use rome_formatter::{format_args, write}; use rome_js_syntax::JsSyntaxKind::JS_DECORATOR; use rome_js_syntax::{JsLanguage, Modifiers}; use rome_rowan::{AstNode, AstNodeList, NodeOrToken}; pub(crate) struct FormatM...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/mod.rs
crates/rome_js_formatter/src/utils/mod.rs
pub(crate) mod array; mod assignment_like; mod binary_like_expression; mod conditional; pub mod string_utils; pub(crate) mod format_class; pub(crate) mod format_modifiers; pub(crate) mod function_body; pub mod jsx; pub(crate) mod member_chain; mod object; mod object_like; mod object_pattern_like; #[cfg(test)] mod quic...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/test_call.rs
crates/rome_js_formatter/src/utils/test_call.rs
use crate::prelude::*; use rome_js_syntax::{ AnyJsArrowFunctionParameters, AnyJsCallArgument, AnyJsExpression, AnyJsFunctionBody, AnyJsLiteralExpression, AnyJsName, AnyJsTemplateElement, JsCallArgumentList, JsCallArguments, JsCallExpression, JsSyntaxNode, JsTemplateExpression, }; use rome_rowan::{SyntaxResu...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/format_class.rs
crates/rome_js_formatter/src/utils/format_class.rs
use crate::prelude::*; use rome_formatter::{format_args, write}; use rome_js_syntax::AnyJsClass; pub struct FormatClass<'a> { class: &'a AnyJsClass, } impl FormatClass<'_> { fn should_group(&self, comments: &JsComments) -> FormatResult<bool> { if let Some(id) = self.class.id()? { if commen...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/conditional.rs
crates/rome_js_formatter/src/utils/conditional.rs
use crate::prelude::*; use rome_formatter::{ write, CstFormatContext, FormatContext, FormatOwnedWithRule, FormatRefWithRule, FormatRuleWithOptions, }; use crate::{AsFormat, IntoFormat}; use rome_js_syntax::{ AnyJsExpression, AnyTsType, JsAssignmentExpression, JsCallExpression, JsComputedMemberExpressio...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/jsx.rs
crates/rome_js_formatter/src/utils/jsx.rs
use crate::context::QuoteStyle; use crate::prelude::*; use crate::JsCommentStyle; use rome_formatter::{comments::CommentStyle, format_args, write}; use rome_js_syntax::{ AnyJsExpression, AnyJsLiteralExpression, AnyJsxChild, AnyJsxTag, JsComputedMemberExpression, JsStaticMemberExpression, JsSyntaxKind, JsxChildL...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/binary_like_expression.rs
crates/rome_js_formatter/src/utils/binary_like_expression.rs
//! This module implements the formatting of binary like nodes. Binary like nodes are nodes with //! `left` and `right` expressions. Today, this includes: //! * [JsBinaryExpression] //! * [JsLogicalExpression] //! * [JsInExpression] //! * [JsInstanceofExpression] //! //! The challenge of formatting binary like expressi...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
true
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/quickcheck_utils.rs
crates/rome_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<'a> PartialEq<AsciiString> for &'a str { fn eq(&self, other: &AsciiString)...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/string_utils.rs
crates/rome_js_formatter/src/utils/string_utils.rs
use crate::context::{JsFormatOptions, QuoteProperties, QuoteStyle}; use crate::prelude::*; use rome_formatter::token::string::normalize_string; use rome_js_syntax::JsSyntaxKind::{JSX_STRING_LITERAL, JS_STRING_LITERAL}; use rome_js_syntax::{JsFileSource, JsSyntaxToken}; use std::borrow::Cow; use unicode_width::UnicodeWi...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/member_chain/chain_member.rs
crates/rome_js_formatter/src/utils/member_chain/chain_member.rs
use crate::js::expressions::computed_member_expression::FormatComputedMemberLookup; use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::{ JsCallExpression, JsCallExpressionFields, JsComputedMemberExpression, JsImportCallExpression, JsStaticMemberExpression, JsStaticMemberExpressionFields, 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/utils/member_chain/mod.rs
crates/rome_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
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/member_chain/groups.rs
crates/rome_js_formatter/src/utils/member_chain/groups.rs
use crate::parentheses::NeedsParentheses; use crate::prelude::*; use crate::utils::member_chain::chain_member::ChainMember; use rome_formatter::write; use std::cell::RefCell; #[derive(Default)] pub(super) struct MemberChainGroupsBuilder { /// keeps track of the groups created groups: Vec<MemberChainGroup>, ...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/utils/member_chain/simple_argument.rs
crates/rome_js_formatter/src/utils/member_chain/simple_argument.rs
use crate::utils::is_call_like_expression; use rome_js_syntax::{ AnyJsArrayElement, AnyJsCallArgument, AnyJsExpression, AnyJsName, AnyJsObjectMember, AnyJsObjectMemberName, AnyJsTemplateElement, JsSpread, JsStaticMemberExpressionFields, JsTemplateExpression, JsUnaryOperator, }; use rome_rowan::{AstSeparated...
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/mod.rs
crates/rome_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
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/statements/for_in_statement.rs
crates/rome_js_formatter/src/js/statements/for_in_statement.rs
use crate::prelude::*; use crate::utils::FormatStatementBody; use rome_formatter::{format_args, write}; use rome_js_syntax::JsForInStatement; use rome_js_syntax::JsForInStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsForInStatement; impl FormatNodeRule<JsForInStatement> for FormatJsForInS...
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/statements/break_statement.rs
crates/rome_js_formatter/src/js/statements/break_statement.rs
use crate::prelude::*; use rome_formatter::write; use crate::utils::FormatStatementSemicolon; use rome_js_syntax::JsBreakStatement; use rome_js_syntax::JsBreakStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBreakStatement; impl FormatNodeRule<JsBreakStatement> for FormatJsBreakStatement ...
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/statements/continue_statement.rs
crates/rome_js_formatter/src/js/statements/continue_statement.rs
use crate::prelude::*; use rome_formatter::write; use crate::utils::FormatStatementSemicolon; use rome_js_syntax::JsContinueStatement; use rome_js_syntax::JsContinueStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsContinueStatement; impl FormatNodeRule<JsContinueStatement> for FormatJsCon...
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/statements/do_while_statement.rs
crates/rome_js_formatter/src/js/statements/do_while_statement.rs
use crate::prelude::*; use crate::utils::{FormatStatementBody, FormatStatementSemicolon}; use rome_formatter::{format_args, write}; use rome_js_syntax::JsDoWhileStatementFields; use rome_js_syntax::{AnyJsStatement, JsDoWhileStatement}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsDoWhileStatement; 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/statements/try_statement.rs
crates/rome_js_formatter/src/js/statements/try_statement.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsTryStatement; use rome_js_syntax::JsTryStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsTryStatement; impl FormatNodeRule<JsTryStatement> for FormatJsTryStatement { fn fmt_fields(&self, node: &JsTryStatement, f: &m...
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/statements/with_statement.rs
crates/rome_js_formatter/src/js/statements/with_statement.rs
use crate::prelude::*; use rome_formatter::{format_args, write}; use crate::utils::FormatStatementBody; use rome_js_syntax::JsWithStatement; use rome_js_syntax::JsWithStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsWithStatement; impl FormatNodeRule<JsWithStatement> for FormatJsWithStatem...
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/statements/debugger_statement.rs
crates/rome_js_formatter/src/js/statements/debugger_statement.rs
use crate::prelude::*; use rome_formatter::write; use crate::utils::FormatStatementSemicolon; use rome_js_syntax::JsDebuggerStatement; use rome_js_syntax::JsDebuggerStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsDebuggerStatement; impl FormatNodeRule<JsDebuggerStatement> for FormatJsDeb...
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/statements/for_of_statement.rs
crates/rome_js_formatter/src/js/statements/for_of_statement.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsForOfStatement; use crate::utils::FormatStatementBody; use rome_js_syntax::JsForOfStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsForOfStatement; impl FormatNodeRule<JsForOfStatement> for FormatJsForOfStatement { ...
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/statements/if_statement.rs
crates/rome_js_formatter/src/js/statements/if_statement.rs
use crate::prelude::*; use rome_formatter::{format_args, write, CstFormatContext}; use crate::utils::FormatStatementBody; use rome_js_syntax::JsIfStatement; use rome_js_syntax::JsIfStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsIfStatement; impl FormatNodeRule<JsIfStatement> 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/statements/return_statement.rs
crates/rome_js_formatter/src/js/statements/return_statement.rs
use crate::prelude::*; use crate::utils::{AnyJsBinaryLikeExpression, FormatOptionalSemicolon, FormatStatementSemicolon}; use rome_formatter::{format_args, write, CstFormatContext}; use crate::parentheses::{get_expression_left_side, AnyJsExpressionLeftSide}; use rome_js_syntax::{ AnyJsExpression, JsReturnStatement...
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/statements/variable_statement.rs
crates/rome_js_formatter/src/js/statements/variable_statement.rs
use crate::prelude::*; use rome_formatter::write; use crate::utils::FormatStatementSemicolon; use rome_js_syntax::JsVariableStatement; use rome_js_syntax::JsVariableStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsVariableStatement; impl FormatNodeRule<JsVariableStatement> for FormatJsVar...
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/statements/while_statement.rs
crates/rome_js_formatter/src/js/statements/while_statement.rs
use crate::prelude::*; use crate::utils::FormatStatementBody; use rome_formatter::{format_args, write}; use rome_js_syntax::JsWhileStatement; use rome_js_syntax::JsWhileStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsWhileStatement; impl FormatNodeRule<JsWhileStatement> for FormatJsWhileS...
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/statements/mod.rs
crates/rome_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
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/statements/block_statement.rs
crates/rome_js_formatter/src/js/statements/block_statement.rs
use crate::prelude::*; use rome_formatter::{write, Buffer, CstFormatContext}; use rome_js_syntax::JsBlockStatement; use rome_js_syntax::{AnyJsStatement, JsEmptyStatement}; use rome_js_syntax::JsBlockStatementFields; use rome_js_syntax::JsSyntaxKind; use rome_rowan::{AstNode, AstNodeList, SyntaxNodeOptionExt}; #[deriv...
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/statements/throw_statement.rs
crates/rome_js_formatter/src/js/statements/throw_statement.rs
use crate::prelude::*; use crate::js::statements::return_statement::AnyJsStatementWithArgument; use rome_js_syntax::JsThrowStatement; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsThrowStatement; impl FormatNodeRule<JsThrowStatement> for FormatJsThrowStatement { fn fmt_fields(&self, node: &JsThrowSt...
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/statements/expression_statement.rs
crates/rome_js_formatter/src/js/statements/expression_statement.rs
use crate::parentheses::{get_expression_left_side, AnyJsExpressionLeftSide, NeedsParentheses}; use crate::prelude::*; use crate::utils::FormatStatementSemicolon; use rome_formatter::{write, CstFormatContext}; use rome_js_syntax::{ AnyJsAssignment, AnyJsAssignmentPattern, AnyJsExpression, JsExpressionStatement, 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/statements/switch_statement.rs
crates/rome_js_formatter/src/js/statements/switch_statement.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::{JsSwitchStatement, JsSwitchStatementFields}; use rome_rowan::AstNodeList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsSwitchStatement; impl FormatNodeRule<JsSwitchStatement> for FormatJsSwitchStatement { fn fmt_fields(&self, no...
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/statements/for_statement.rs
crates/rome_js_formatter/src/js/statements/for_statement.rs
use crate::prelude::*; use rome_formatter::{format_args, write, CstFormatContext}; use crate::utils::FormatStatementBody; use rome_js_syntax::JsForStatement; use rome_js_syntax::JsForStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsForStatement; impl FormatNodeRule<JsForStatement> for Form...
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/statements/labeled_statement.rs
crates/rome_js_formatter/src/js/statements/labeled_statement.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsLabeledStatementFields; use rome_js_syntax::{AnyJsStatement, JsLabeledStatement}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsLabeledStatement; impl FormatNodeRule<JsLabeledStatement> for FormatJsLabeledStatement { fn fmt_fiel...
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/statements/try_finally_statement.rs
crates/rome_js_formatter/src/js/statements/try_finally_statement.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsTryFinallyStatement; use rome_js_syntax::JsTryFinallyStatementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsTryFinallyStatement; impl FormatNodeRule<JsTryFinallyStatement> for FormatJsTryFinallyStatement { 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/statements/empty_statement.rs
crates/rome_js_formatter/src/js/statements/empty_statement.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::{JsEmptyStatement, JsEmptyStatementFields, JsSyntaxKind}; use rome_rowan::{AstNode, SyntaxNodeOptionExt}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsEmptyStatement; impl FormatNodeRule<JsEmptyStatement> for FormatJsEmptyStatement {...
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/lists/decorator_list.rs
crates/rome_js_formatter/src/js/lists/decorator_list.rs
use crate::prelude::*; use crate::utils::format_modifiers::should_expand_decorators; use rome_formatter::write; use rome_js_syntax::JsSyntaxKind::{ JS_CLASS_EXPRESSION, JS_FORMAL_PARAMETER, JS_REST_PARAMETER, TS_PROPERTY_PARAMETER, }; use rome_js_syntax::{ AnyJsDeclarationClause, AnyJsExportClause, AnyJsExportD...
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/lists/array_assignment_pattern_element_list.rs
crates/rome_js_formatter/src/js/lists/array_assignment_pattern_element_list.rs
use crate::prelude::*; use crate::utils::array::write_array_node; use rome_js_syntax::JsArrayAssignmentPatternElementList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsArrayAssignmentPatternElementList; impl FormatRule<JsArrayAssignmentPatternElementList> for FormatJsArrayAssignmentPatternElementList { ...
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/lists/export_named_specifier_list.rs
crates/rome_js_formatter/src/js/lists/export_named_specifier_list.rs
use crate::context::trailing_comma::FormatTrailingComma; use crate::prelude::*; use rome_js_syntax::JsExportNamedSpecifierList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsExportNamedSpecifierList; impl FormatRule<JsExportNamedSpecifierList> for FormatJsExportNamedSpecifierList { type Context = 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/lists/constructor_parameter_list.rs
crates/rome_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 rome_js_syntax::parameter_ext::AnyJsParameterList; use rome_js_syntax::JsConstructorParameterList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsConstructorParam...
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/lists/object_member_list.rs
crates/rome_js_formatter/src/js/lists/object_member_list.rs
use crate::context::trailing_comma::FormatTrailingComma; use crate::prelude::*; use rome_js_syntax::JsObjectMemberList; use rome_rowan::{AstNode, AstSeparatedList}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsObjectMemberList; impl FormatRule<JsObjectMemberList> for FormatJsObjectMemberList { type ...
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/lists/statement_list.rs
crates/rome_js_formatter/src/js/lists/statement_list.rs
use crate::prelude::*; use rome_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) -> 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/lists/export_named_from_specifier_list.rs
crates/rome_js_formatter/src/js/lists/export_named_from_specifier_list.rs
use crate::context::trailing_comma::FormatTrailingComma; use crate::prelude::*; use rome_js_syntax::JsExportNamedFromSpecifierList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsExportNamedFromSpecifierList; impl FormatRule<JsExportNamedFromSpecifierList> for FormatJsExportNamedFromSpecifierList { ty...
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/lists/array_element_list.rs
crates/rome_js_formatter/src/js/lists/array_element_list.rs
use crate::prelude::*; use rome_formatter::{write, CstFormatContext, FormatRuleWithOptions, GroupId}; use crate::utils::array::write_array_node; use crate::context::trailing_comma::FormatTrailingComma; use rome_js_syntax::JsArrayElementList; use rome_rowan::{AstNode, AstSeparatedList}; #[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/lists/array_binding_pattern_element_list.rs
crates/rome_js_formatter/src/js/lists/array_binding_pattern_element_list.rs
use crate::prelude::*; use crate::utils::array::write_array_node; use rome_js_syntax::JsArrayBindingPatternElementList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsArrayBindingPatternElementList; impl FormatRule<JsArrayBindingPatternElementList> for FormatJsArrayBindingPatternElementList { type Con...
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/lists/import_assertion_entry_list.rs
crates/rome_js_formatter/src/js/lists/import_assertion_entry_list.rs
use crate::context::trailing_comma::FormatTrailingComma; use crate::prelude::*; use rome_js_syntax::JsImportAssertionEntryList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsImportAssertionEntryList; impl FormatRule<JsImportAssertionEntryList> for FormatJsImportAssertionEntryList { type Context = 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/lists/property_modifier_list.rs
crates/rome_js_formatter/src/js/lists/property_modifier_list.rs
use crate::prelude::*; use crate::utils::format_modifiers::FormatModifiers; use rome_js_syntax::JsPropertyModifierList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsPropertyModifierList; impl FormatRule<JsPropertyModifierList> for FormatJsPropertyModifierList { type Context = JsFormatContext; 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/lists/parameter_list.rs
crates/rome_js_formatter/src/js/lists/parameter_list.rs
use crate::js::bindings::parameters::ParameterLayout; use crate::prelude::*; use crate::context::trailing_comma::FormatTrailingComma; use rome_js_syntax::parameter_ext::{AnyJsParameterList, AnyParameter}; use rome_js_syntax::{AnyJsConstructorParameter, AnyJsParameter, JsParameterList}; #[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/lists/mod.rs
crates/rome_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
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/lists/module_item_list.rs
crates/rome_js_formatter/src/js/lists/module_item_list.rs
use crate::prelude::*; use rome_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
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/lists/object_binding_pattern_property_list.rs
crates/rome_js_formatter/src/js/lists/object_binding_pattern_property_list.rs
use crate::context::trailing_comma::FormatTrailingComma; use crate::prelude::*; use rome_js_syntax::{AnyJsObjectBindingPatternMember, JsObjectBindingPatternPropertyList}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsObjectBindingPatternPropertyList; impl FormatRule<JsObjectBindingPatternPropertyList> 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/lists/call_argument_list.rs
crates/rome_js_formatter/src/js/lists/call_argument_list.rs
use crate::prelude::*; use crate::utils::write_arguments_multi_line; use rome_formatter::write; use rome_js_syntax::JsCallArgumentList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsCallArgumentList; impl FormatRule<JsCallArgumentList> for FormatJsCallArgumentList { type Context = JsFormatContext; ...
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/lists/class_member_list.rs
crates/rome_js_formatter/src/js/lists/class_member_list.rs
use crate::prelude::*; use rome_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) -> FormatResu...
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/lists/constructor_modifier_list.rs
crates/rome_js_formatter/src/js/lists/constructor_modifier_list.rs
use crate::prelude::*; use rome_js_syntax::JsConstructorModifierList; use rome_rowan::AstNodeList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsConstructorModifierList; impl FormatRule<JsConstructorModifierList> for FormatJsConstructorModifierList { type Context = JsFormatContext; fn fmt(&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/lists/directive_list.rs
crates/rome_js_formatter/src/js/lists/directive_list.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsDirectiveList; use rome_rowan::{AstNode, AstNodeList}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsDirectiveList; impl FormatRule<JsDirectiveList> for FormatJsDirectiveList { type Context = JsFormatContext; fn fmt(&self, n...
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/lists/object_assignment_pattern_property_list.rs
crates/rome_js_formatter/src/js/lists/object_assignment_pattern_property_list.rs
use crate::context::trailing_comma::FormatTrailingComma; use crate::prelude::*; use rome_js_syntax::{AnyJsObjectAssignmentPatternMember, JsObjectAssignmentPatternPropertyList}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsObjectAssignmentPatternPropertyList; impl FormatRule<JsObjectAssignmentPatternProp...
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/lists/named_import_specifier_list.rs
crates/rome_js_formatter/src/js/lists/named_import_specifier_list.rs
use crate::context::trailing_comma::FormatTrailingComma; use crate::prelude::*; use rome_js_syntax::JsNamedImportSpecifierList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsNamedImportSpecifierList; impl FormatRule<JsNamedImportSpecifierList> for FormatJsNamedImportSpecifierList { type Context = 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/lists/variable_declarator_list.rs
crates/rome_js_formatter/src/js/lists/variable_declarator_list.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::{JsSyntaxKind, JsVariableDeclaratorList}; use rome_rowan::AstSeparatedList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsVariableDeclaratorList; impl FormatRule<JsVariableDeclaratorList> for FormatJsVariableDeclaratorList { type ...
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/lists/switch_case_list.rs
crates/rome_js_formatter/src/js/lists/switch_case_list.rs
use crate::prelude::*; use rome_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
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false
rome/tools
https://github.com/rome/tools/blob/392d188a49d70e495f13b1bb08cd7d9c43690f9b/crates/rome_js_formatter/src/js/lists/template_element_list.rs
crates/rome_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 rome_formatter::FormatRuleWithOptions; us...
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/lists/method_modifier_list.rs
crates/rome_js_formatter/src/js/lists/method_modifier_list.rs
use crate::prelude::*; use crate::utils::format_modifiers::FormatModifiers; use rome_js_syntax::JsMethodModifierList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsMethodModifierList; impl FormatRule<JsMethodModifierList> for FormatJsMethodModifierList { type Context = JsFormatContext; fn fmt(&s...
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/assignments/identifier_assignment.rs
crates/rome_js_formatter/src/js/assignments/identifier_assignment.rs
use crate::prelude::*; use rome_formatter::write; use crate::parentheses::NeedsParentheses; use rome_js_syntax::{JsForOfStatement, JsIdentifierAssignmentFields}; use rome_js_syntax::{JsIdentifierAssignment, JsSyntaxNode}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsIdentifierAssignment; 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/assignments/assignment_with_default.rs
crates/rome_js_formatter/src/js/assignments/assignment_with_default.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsAssignmentWithDefault; use rome_js_syntax::JsAssignmentWithDefaultFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsAssignmentWithDefault; impl FormatNodeRule<JsAssignmentWithDefault> for FormatJsAssignmentWithDefault { 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/assignments/object_assignment_pattern_rest.rs
crates/rome_js_formatter/src/js/assignments/object_assignment_pattern_rest.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsObjectAssignmentPatternRest; use rome_js_syntax::JsObjectAssignmentPatternRestFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsObjectAssignmentPatternRest; impl FormatNodeRule<JsObjectAssignmentPatternRest> for FormatJsObjectAs...
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/assignments/static_member_assignment.rs
crates/rome_js_formatter/src/js/assignments/static_member_assignment.rs
use crate::js::expressions::static_member_expression::AnyJsStaticMemberLike; use crate::parentheses::NeedsParentheses; use crate::prelude::*; use rome_js_syntax::{JsStaticMemberAssignment, JsSyntaxNode}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsStaticMemberAssignment; impl FormatNodeRule<JsStaticMem...
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/assignments/object_assignment_pattern_shorthand_property.rs
crates/rome_js_formatter/src/js/assignments/object_assignment_pattern_shorthand_property.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsObjectAssignmentPatternShorthandProperty; use rome_js_syntax::JsObjectAssignmentPatternShorthandPropertyFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsObjectAssignmentPatternShorthandProperty; impl FormatNodeRule<JsObjectAssi...
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/assignments/computed_member_assignment.rs
crates/rome_js_formatter/src/js/assignments/computed_member_assignment.rs
use crate::prelude::*; use crate::parentheses::NeedsParentheses; use rome_js_syntax::{AnyJsComputedMember, JsComputedMemberAssignment, JsSyntaxNode}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsComputedMemberAssignment; impl FormatNodeRule<JsComputedMemberAssignment> for FormatJsComputedMemberAssignme...
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/assignments/object_assignment_pattern_property.rs
crates/rome_js_formatter/src/js/assignments/object_assignment_pattern_property.rs
use crate::prelude::*; use crate::utils::AnyJsAssignmentLike; use rome_formatter::write; use rome_js_syntax::JsObjectAssignmentPatternProperty; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsObjectAssignmentPatternProperty; impl FormatNodeRule<JsObjectAssignmentPatternProperty> for FormatJsObjectAssignmen...
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/assignments/parenthesized_assignment.rs
crates/rome_js_formatter/src/js/assignments/parenthesized_assignment.rs
use crate::parentheses::NeedsParentheses; use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsParenthesizedAssignment; use rome_js_syntax::{JsParenthesizedAssignmentFields, JsSyntaxNode}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsParenthesizedAssignment; impl FormatNodeRule<JsPare...
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/assignments/mod.rs
crates/rome_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_rest_element; pub(crate) mod assignment_with_default; pub(crate) mod computed_member_assignment; pub(crate) mod identifier_assig...
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/assignments/array_assignment_pattern_rest_element.rs
crates/rome_js_formatter/src/js/assignments/array_assignment_pattern_rest_element.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsArrayAssignmentPatternRestElement; use rome_js_syntax::JsArrayAssignmentPatternRestElementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsArrayAssignmentPatternRestElement; impl FormatNodeRule<JsArrayAssignmentPatternRestEleme...
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/assignments/object_assignment_pattern.rs
crates/rome_js_formatter/src/js/assignments/object_assignment_pattern.rs
use crate::parentheses::NeedsParentheses; use crate::prelude::*; use crate::utils::JsObjectPatternLike; use rome_formatter::write; use rome_js_syntax::{JsObjectAssignmentPattern, JsSyntaxNode}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsObjectAssignmentPattern; impl FormatNodeRule<JsObjectAssignmentPa...
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/assignments/array_assignment_pattern.rs
crates/rome_js_formatter/src/js/assignments/array_assignment_pattern.rs
use crate::parentheses::NeedsParentheses; use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsArrayAssignmentPattern; use rome_js_syntax::{JsArrayAssignmentPatternFields, JsSyntaxNode}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsArrayAssignmentPattern; impl FormatNodeRule<JsArrayAs...
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/bogus/bogus_parameter.rs
crates/rome_js_formatter/src/js/bogus/bogus_parameter.rs
use crate::FormatBogusNodeRule; use rome_js_syntax::JsBogusParameter; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBogusParameter; impl FormatBogusNodeRule<JsBogusParameter> for FormatJsBogusParameter {}
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/bogus/bogus_assignment.rs
crates/rome_js_formatter/src/js/bogus/bogus_assignment.rs
use crate::parentheses::NeedsParentheses; use crate::FormatBogusNodeRule; use rome_js_syntax::{JsBogusAssignment, JsSyntaxNode}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBogusAssignment; impl FormatBogusNodeRule<JsBogusAssignment> for FormatJsBogusAssignment {} impl NeedsParentheses for JsBogusAssi...
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/bogus/bogus_import_assertion_entry.rs
crates/rome_js_formatter/src/js/bogus/bogus_import_assertion_entry.rs
use crate::FormatBogusNodeRule; use rome_js_syntax::JsBogusImportAssertionEntry; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBogusImportAssertionEntry; impl FormatBogusNodeRule<JsBogusImportAssertionEntry> for FormatJsBogusImportAssertionEntry {}
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/bogus/bogus_statement.rs
crates/rome_js_formatter/src/js/bogus/bogus_statement.rs
use crate::FormatBogusNodeRule; use rome_js_syntax::JsBogusStatement; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBogusStatement; impl FormatBogusNodeRule<JsBogusStatement> for FormatJsBogusStatement {}
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/bogus/bogus_expression.rs
crates/rome_js_formatter/src/js/bogus/bogus_expression.rs
use crate::parentheses::NeedsParentheses; use crate::FormatBogusNodeRule; use rome_js_syntax::{JsBogusExpression, JsSyntaxNode}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBogusExpression; impl FormatBogusNodeRule<JsBogusExpression> for FormatJsBogusExpression {} impl NeedsParentheses for JsBogusExpr...
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/bogus/mod.rs
crates/rome_js_formatter/src/js/bogus/mod.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. #[allow(clippy::module_inception)] pub(crate) mod bogus; pub(crate) mod bogus_assignment; pub(crate) mod bogus_binding; pub(crate) mod bogus_expression; pub(crate) mod bogus_import_assertion_entry; pub(crate) ...
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/bogus/bogus.rs
crates/rome_js_formatter/src/js/bogus/bogus.rs
use crate::FormatBogusNodeRule; use rome_js_syntax::JsBogus; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBogus; impl FormatBogusNodeRule<JsBogus> for FormatJsBogus {}
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/bogus/bogus_named_import_specifier.rs
crates/rome_js_formatter/src/js/bogus/bogus_named_import_specifier.rs
use crate::FormatBogusNodeRule; use rome_js_syntax::JsBogusNamedImportSpecifier; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBogusNamedImportSpecifier; impl FormatBogusNodeRule<JsBogusNamedImportSpecifier> for FormatJsBogusNamedImportSpecifier {}
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/bogus/bogus_binding.rs
crates/rome_js_formatter/src/js/bogus/bogus_binding.rs
use crate::FormatBogusNodeRule; use rome_js_syntax::JsBogusBinding; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBogusBinding; impl FormatBogusNodeRule<JsBogusBinding> for FormatJsBogusBinding {}
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/bogus/bogus_member.rs
crates/rome_js_formatter/src/js/bogus/bogus_member.rs
use crate::FormatBogusNodeRule; use rome_js_syntax::JsBogusMember; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsBogusMember; impl FormatBogusNodeRule<JsBogusMember> for FormatJsBogusMember {}
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/declarations/variable_declaration.rs
crates/rome_js_formatter/src/js/declarations/variable_declaration.rs
use crate::prelude::*; use rome_formatter::{format_args, write}; use rome_js_syntax::JsVariableDeclaration; use rome_js_syntax::JsVariableDeclarationFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsVariableDeclaration; impl FormatNodeRule<JsVariableDeclaration> for FormatJsVariableDeclaration { ...
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/declarations/for_variable_declaration.rs
crates/rome_js_formatter/src/js/declarations/for_variable_declaration.rs
use crate::prelude::*; use rome_formatter::{format_args, write}; use rome_js_syntax::JsForVariableDeclaration; use rome_js_syntax::JsForVariableDeclarationFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsForVariableDeclaration; impl FormatNodeRule<JsForVariableDeclaration> for FormatJsForVariableDe...
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/declarations/function_declaration.rs
crates/rome_js_formatter/src/js/declarations/function_declaration.rs
use crate::prelude::*; use crate::js::expressions::call_arguments::GroupedCallArgumentLayout; use crate::utils::function_body::{FormatMaybeCachedFunctionBody, FunctionBodyCacheMode}; use rome_formatter::{write, RemoveSoftLinesBuffer}; use rome_js_syntax::{ AnyJsBinding, AnyTsReturnType, AnyTsType, JsFunctionBody, ...
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/declarations/class_export_default_declaration.rs
crates/rome_js_formatter/src/js/declarations/class_export_default_declaration.rs
use crate::prelude::*; use crate::utils::format_class::FormatClass; use rome_js_syntax::JsClassExportDefaultDeclaration; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsClassExportDefaultDeclaration; impl FormatNodeRule<JsClassExportDefaultDeclaration> for FormatJsClassExportDefaultDeclaration { fn fm...
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/declarations/function_export_default_declaration.rs
crates/rome_js_formatter/src/js/declarations/function_export_default_declaration.rs
use crate::prelude::*; use rome_formatter::write; use crate::js::declarations::function_declaration::FormatFunction; use rome_js_syntax::JsFunctionExportDefaultDeclaration; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsFunctionExportDefaultDeclaration; impl FormatNodeRule<JsFunctionExportDefaultDeclarat...
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/declarations/class_declaration.rs
crates/rome_js_formatter/src/js/declarations/class_declaration.rs
use crate::prelude::*; use crate::utils::format_class::FormatClass; use rome_js_syntax::JsClassDeclaration; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsClassDeclaration; impl FormatNodeRule<JsClassDeclaration> for FormatJsClassDeclaration { fn fmt_fields(&self, node: &JsClassDeclaration, f: &mut 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/declarations/mod.rs
crates/rome_js_formatter/src/js/declarations/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 catch_declaration; pub(crate) mod class_declaration; pub(crate) mod class_export_default_declaration; pub(crate) mod for_variable_declaration; pub(crate) mod function_declaration; pub(crate) mod...
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/declarations/catch_declaration.rs
crates/rome_js_formatter/src/js/declarations/catch_declaration.rs
use crate::prelude::*; use rome_formatter::{format_args, write}; use rome_js_syntax::JsCatchDeclaration; use rome_js_syntax::JsCatchDeclarationFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsCatchDeclaration; impl FormatNodeRule<JsCatchDeclaration> for FormatJsCatchDeclaration { 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/bindings/object_binding_pattern_property.rs
crates/rome_js_formatter/src/js/bindings/object_binding_pattern_property.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsObjectBindingPatternProperty; use rome_js_syntax::JsObjectBindingPatternPropertyFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsObjectBindingPatternProperty; impl FormatNodeRule<JsObjectBindingPatternProperty> for FormatJsObje...
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/parameters.rs
crates/rome_js_formatter/src/js/bindings/parameters.rs
use crate::prelude::*; use rome_formatter::{write, CstFormatContext}; use crate::js::expressions::arrow_function_expression::can_avoid_parentheses; use crate::js::lists::parameter_list::FormatJsAnyParameterList; use crate::utils::test_call::is_test_call_argument; use rome_js_syntax::parameter_ext::{AnyJsParameterList,...
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/constructor_parameters.rs
crates/rome_js_formatter/src/js/bindings/constructor_parameters.rs
use crate::prelude::*; use crate::js::bindings::parameters::FormatAnyJsParameters; use rome_js_syntax::JsConstructorParameters; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsConstructorParameters; impl FormatNodeRule<JsConstructorParameters> for FormatJsConstructorParameters { fn fmt_fields(&self, n...
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/array_binding_pattern_rest_element.rs
crates/rome_js_formatter/src/js/bindings/array_binding_pattern_rest_element.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsArrayBindingPatternRestElement; use rome_js_syntax::JsArrayBindingPatternRestElementFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsArrayBindingPatternRestElement; impl FormatNodeRule<JsArrayBindingPatternRestElement> for Form...
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_rest.rs
crates/rome_js_formatter/src/js/bindings/object_binding_pattern_rest.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsObjectBindingPatternRest; use rome_js_syntax::JsObjectBindingPatternRestFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsObjectBindingPatternRest; impl FormatNodeRule<JsObjectBindingPatternRest> for FormatJsObjectBindingPattern...
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/array_binding_pattern.rs
crates/rome_js_formatter/src/js/bindings/array_binding_pattern.rs
use crate::prelude::*; use rome_formatter::write; use rome_js_syntax::JsArrayBindingPattern; use rome_js_syntax::JsArrayBindingPatternFields; #[derive(Debug, Clone, Default)] pub(crate) struct FormatJsArrayBindingPattern; impl FormatNodeRule<JsArrayBindingPattern> for FormatJsArrayBindingPattern { 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/bindings/mod.rs
crates/rome_js_formatter/src/js/bindings/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_binding_pattern; pub(crate) mod array_binding_pattern_rest_element; pub(crate) mod binding_pattern_with_default; pub(crate) mod constructor_parameters; pub(crate) mod formal_parameter; pub...
rust
MIT
392d188a49d70e495f13b1bb08cd7d9c43690f9b
2026-01-04T15:38:12.578592Z
false