repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/class.rs
crates/biome_js_parser/src/syntax/class.rs
use crate::parser::{ParsedSyntax, RecoveryResult}; use crate::prelude::*; use crate::state::{ EnableStrictMode, EnterClassPropertyInitializer, EnterClassStaticInitializationBlock, EnterParameters, SignatureFlags, }; use crate::syntax::binding::parse_binding; use crate::syntax::expr::{ ExpressionContext, par...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
true
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/function.rs
crates/biome_js_parser/src/syntax/function.rs
use crate::parser::ParsedSyntax; use crate::prelude::*; use crate::state::{EnterFunction, EnterParameters, SignatureFlags}; use crate::syntax::binding::{ is_at_identifier_binding, is_nth_at_identifier_binding, parse_binding, parse_binding_pattern, }; use crate::syntax::class::{ empty_decorator_list, parse_initi...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
true
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/auxiliary.rs
crates/biome_js_parser/src/syntax/auxiliary.rs
use crate::prelude::*; use crate::syntax::class::{parse_class_declaration, parse_decorators}; use crate::syntax::function::parse_function_declaration; use crate::syntax::js_parse_error::decorators_not_allowed; use crate::syntax::module::parse_import_or_import_equals_declaration; use crate::syntax::stmt::{ Statement...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/js_parse_error.rs
crates/biome_js_parser/src/syntax/js_parse_error.rs
//! Provides factory function to create common diagnostics for the JavaScript syntax use crate::JsParser; use crate::JsSyntaxFeature::TypeScript; use crate::prelude::*; use crate::span::Span; use biome_js_syntax::TextRange; use biome_parser::diagnostic::{expected_any, expected_node}; pub(crate) fn expected_function_b...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/binding.rs
crates/biome_js_parser/src/syntax/binding.rs
use super::metavariable::{is_at_metavariable, is_nth_at_metavariable, parse_metavariable}; use crate::JsSyntaxFeature::StrictMode; use crate::ParsedSyntax::{Absent, Present}; use crate::prelude::*; use crate::span::Span; use crate::syntax::class::parse_initializer_clause; use crate::syntax::expr::{ExpressionContext, is...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/metavariable.rs
crates/biome_js_parser/src/syntax/metavariable.rs
use crate::JsParser; use crate::JsSyntaxKind::JS_METAVARIABLE; use biome_parser::{Parser, prelude::ParsedSyntax}; #[inline] pub(crate) fn is_at_metavariable(p: &mut JsParser) -> bool { is_nth_at_metavariable(p, 0) } #[inline] pub(crate) fn is_nth_at_metavariable(p: &mut JsParser, n: usize) -> bool { p.nth(n)....
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/assignment.rs
crates/biome_js_parser/src/syntax/assignment.rs
use crate::JsParser; use crate::ParsedSyntax::{Absent, Present}; use crate::parser::JsParserCheckpoint; use crate::parser::rewrite_parser::{RewriteMarker, RewriteParser, RewriteToken}; use crate::prelude::*; use crate::rewrite::{RewriteParseEvents, rewrite_events}; use crate::syntax::class::parse_initializer_clause; us...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/stmt.rs
crates/biome_js_parser/src/syntax/stmt.rs
//! Statements, these include `if`, `while`, `for`, `;`, and more. //! //! See the [ECMAScript spec](https://www.ecma-international.org/ecma-262/5.1/#sec-12). use super::binding::*; use super::class::is_at_ts_abstract_class_declaration; use super::expr::parse_expression; use super::metavariable::{is_at_metavariable, i...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
true
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/jsx/mod.rs
crates/biome_js_parser/src/syntax/jsx/mod.rs
use crate::prelude::*; pub mod jsx_parse_errors; use biome_js_syntax::JsSyntaxKind::*; use biome_parser::diagnostic::expected_token; use biome_parser::parse_lists::ParseNodeList; use biome_rowan::TextRange; use crate::JsSyntaxFeature::TypeScript; use crate::lexer::{JsLexContext, JsReLexContext, JsSyntaxKind, T}; use ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/jsx/jsx_parse_errors.rs
crates/biome_js_parser/src/syntax/jsx/jsx_parse_errors.rs
use crate::JsParser; use crate::prelude::*; use biome_js_syntax::TextRange; use biome_parser::diagnostic::{expected_any, expected_node}; pub(crate) fn jsx_expected_attribute(p: &JsParser, range: TextRange) -> ParseDiagnostic { expected_node("JSX attribute", range, p) } pub(crate) fn jsx_expected_attribute_value(p...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/typescript/types.rs
crates/biome_js_parser/src/syntax/typescript/types.rs
use std::ops::{BitOr, Sub}; use crate::parser::{RecoveryError, RecoveryResult}; use crate::prelude::*; use crate::state::{EnterType, SignatureFlags}; use crate::syntax::expr::{ ExpressionContext, is_at_binary_operator, is_at_expression, is_at_identifier, is_nth_at_identifier, is_nth_at_identifier_or_keyword, p...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
true
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/typescript/statement.rs
crates/biome_js_parser/src/syntax/typescript/statement.rs
use crate::parser::RecoveryResult; use crate::prelude::*; use crate::syntax::binding::{ is_nth_at_identifier_binding, parse_binding, parse_identifier_binding, }; use crate::syntax::class::parse_initializer_clause; use crate::syntax::expr::{ExpressionContext, is_nth_at_identifier, parse_name}; use super::ts_parse_e...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/syntax/typescript/ts_parse_error.rs
crates/biome_js_parser/src/syntax/typescript/ts_parse_error.rs
use crate::JsParser; use crate::prelude::*; use biome_diagnostics::location::AsSpan; use biome_parser::diagnostic::{expected_any, expected_node}; use biome_rowan::TextRange; pub(crate) fn expected_ts_enum_member(p: &JsParser, range: TextRange) -> ParseDiagnostic { expected_any(&["identifier", "string literal", "co...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/parser/rewrite_parser.rs
crates/biome_js_parser/src/parser/rewrite_parser.rs
use crate::{parser::JsParser, token_source::JsTokenSourceCheckpoint}; use crate::prelude::*; use biome_console::fmt::Display; use biome_diagnostics::location::AsSpan; use biome_js_syntax::{JsSyntaxKind, TextRange}; use biome_parser::{ CompletedMarker, Marker, diagnostic::{ParseDiagnostic, ToDiagnostic}, ev...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/parser/single_token_parse_recovery.rs
crates/biome_js_parser/src/parser/single_token_parse_recovery.rs
use crate::JsParser; use crate::lexer::{JsSyntaxKind, T}; use crate::prelude::*; use biome_parser::diagnostic::ParseDiagnostic; /// This struct contains the information needed to the parser to recover from a certain error /// /// By default it doesn't check curly braces, use [with_braces_included] to turn opt-in the c...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/lexer/tests.rs
crates/biome_js_parser/src/lexer/tests.rs
#![cfg(test)] #![expect(unused_mut, unused_variables)] use super::{JsLexContext, JsLexer, JsReLexContext, TextRange, TextSize}; use crate::span::Span; use biome_js_syntax::JsSyntaxKind::{self, EOF, ERROR_TOKEN}; use biome_js_syntax::JsSyntaxKind::{JS_NUMBER_LITERAL, NEWLINE, WHITESPACE}; use biome_js_syntax::T; use bi...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/src/lexer/mod.rs
crates/biome_js_parser/src/lexer/mod.rs
//! An extremely fast, lookup table based, ECMAScript lexer which yields SyntaxKind tokens used by the rome-js parser. //! For the purposes of error recovery, tokens may have an error attached to them, which is reflected in the Iterator Item. //! The lexer will also yield `COMMENT` and `WHITESPACE` tokens. //! //! The ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
true
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/tests/spec_test.rs
crates/biome_js_parser/tests/spec_test.rs
use biome_configuration::Configuration; use biome_console::fmt::{Formatter, Termcolor}; use biome_console::markup; use biome_deserialize::json::deserialize_from_str; use biome_diagnostics::DiagnosticExt; use biome_diagnostics::display::PrintDiagnostic; use biome_diagnostics::{print_diagnostic_to_string, termcolor}; use...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/tests/spec_tests.rs
crates/biome_js_parser/tests/spec_tests.rs
mod spec_test; mod ok { tests_macros::gen_tests! {"tests/js_test_suite/ok/**/*.{js,cjs,mjs,jsx,ts,tsx,d.ts}", crate::spec_test::run, "ok"} } mod err { tests_macros::gen_tests! {"tests/js_test_suite/error/**/*.{js,cjs,mjs,jsx,ts,tsx,d.ts}", crate::spec_test::run, "error"} }
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_parser/benches/js_parser.rs
crates/biome_js_parser/benches/js_parser.rs
use biome_diagnostics::{DiagnosticExt, print_diagnostic_to_string}; use biome_js_parser::JsParserOptions; use biome_js_syntax::JsFileSource; use biome_rowan::NodeCache; use biome_test_utils::BenchCase; use criterion::{ BatchSize, BenchmarkId, Criterion, Throughput, black_box, criterion_group, criterion_main, }; use...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/prelude.rs
crates/biome_html_formatter/src/prelude.rs
#![allow( unused_imports, reason = "this is a prelude, these are useful to have in scope." )] pub(crate) use crate::{ AsFormat, FormatNodeRule, FormatResult, FormatRule, FormattedIterExt, HtmlFormatContext, HtmlFormatter, trivia::*, verbatim::*, }; pub(crate) use biome_formatter::prelude::*; pub(crate)...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/lib.rs
crates/biome_html_formatter/src/lib.rs
#![deny(clippy::use_self)] use crate::prelude::*; use biome_formatter::comments::Comments; use biome_formatter::prelude::Tag::{EndEmbedded, StartEmbedded}; use biome_formatter::trivia::{FormatToken, format_skipped_token_trivia}; use biome_formatter::{CstFormatContext, FormatOwnedWithRule, FormatRefWithRule, prelude::*...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/comments.rs
crates/biome_html_formatter/src/comments.rs
use biome_diagnostics_categories::category; use biome_formatter::{ FormatRule, comments::{ CommentKind, CommentPlacement, CommentStyle, Comments, DecoratedComment, SourceComment, }, prelude::*, write, }; use biome_html_syntax::{HtmlClosingElement, HtmlLanguage, HtmlOpeningElement, HtmlSyntax...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/cst.rs
crates/biome_html_formatter/src/cst.rs
use biome_formatter::{Format, FormatOwnedWithRule, FormatRefWithRule, FormatResult}; use crate::{AsFormat, HtmlFormatContext, HtmlFormatter, IntoFormat}; use biome_html_syntax::{HtmlSyntaxNode, map_syntax_node}; #[derive(Debug, Copy, Clone, Default)] pub struct FormatHtmlSyntaxNode; impl biome_formatter::FormatRule<...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/trivia.rs
crates/biome_html_formatter/src/trivia.rs
use crate::prelude::HtmlFormatContext; use crate::{FormatHtmlSyntaxToken, HtmlFormatter}; use biome_formatter::formatter::Formatter; use biome_formatter::trivia::FormatToken; use biome_formatter::{Argument, Format, FormatResult}; use biome_html_syntax::HtmlSyntaxToken; pub(crate) struct FormatRemoved<'a> { token: ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/verbatim.rs
crates/biome_html_formatter/src/verbatim.rs
use crate::HtmlFormatter; use crate::context::HtmlFormatContext; use biome_formatter::comments::{CommentKind, SourceComment}; use biome_formatter::format_element::tag::VerbatimKind; use biome_formatter::formatter::Formatter; use biome_formatter::prelude::{ Tag, empty_line, expand_parent, format_with, hard_line_brea...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/context.rs
crates/biome_html_formatter/src/context.rs
use std::{fmt, ops::Deref, rc::Rc, str::FromStr}; use biome_deserialize_macros::{Deserializable, Merge}; use biome_formatter::{ AttributePosition, BracketSameLine, CstFormatContext, FormatContext, FormatOptions, IndentStyle, IndentWidth, LineEnding, LineWidth, TransformSourceMap, printer::PrinterOptions, }; us...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/separated.rs
crates/biome_html_formatter/src/separated.rs
use crate::FormatHtmlSyntaxToken; use crate::prelude::*; use biome_formatter::separated::{ FormatSeparatedElementRule, FormatSeparatedIter, TrailingSeparator, }; use biome_formatter::{FormatRefWithRule, FormatRuleWithOptions}; use biome_html_syntax::{HtmlLanguage, HtmlSyntaxToken, SvelteName}; use biome_rowan::{Ast...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/generated.rs
crates/biome_html_formatter/src/generated.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. #![allow(clippy::use_self)] #![expect(clippy::default_constructed_unit_structs)] use crate::{ AsFormat, FormatBogusNodeRule, FormatNodeRule, HtmlFormatContext, HtmlFormatter, IntoFormat, }; use biome_forma...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
true
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/mod.rs
crates/biome_html_formatter/src/vue/mod.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. pub(crate) mod any; pub(crate) mod auxiliary; pub(crate) mod bogus; pub(crate) mod lists;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/lists/modifier_list.rs
crates/biome_html_formatter/src/vue/lists/modifier_list.rs
use crate::prelude::*; use biome_html_syntax::VueModifierList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueModifierList; impl FormatRule<VueModifierList> for FormatVueModifierList { type Context = HtmlFormatContext; fn fmt(&self, node: &VueModifierList, f: &mut HtmlFormatter) -> FormatResult<()>...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/lists/mod.rs
crates/biome_html_formatter/src/vue/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 modifier_list;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/bogus/bogus_directive_argument.rs
crates/biome_html_formatter/src/vue/bogus/bogus_directive_argument.rs
use crate::FormatBogusNodeRule; use biome_html_syntax::VueBogusDirectiveArgument; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueBogusDirectiveArgument; impl FormatBogusNodeRule<VueBogusDirectiveArgument> for FormatVueBogusDirectiveArgument {}
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/bogus/mod.rs
crates/biome_html_formatter/src/vue/bogus/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 bogus_directive; pub(crate) mod bogus_directive_argument;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/bogus/bogus_directive.rs
crates/biome_html_formatter/src/vue/bogus/bogus_directive.rs
use crate::FormatBogusNodeRule; use biome_html_syntax::VueBogusDirective; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueBogusDirective; impl FormatBogusNodeRule<VueBogusDirective> for FormatVueBogusDirective {}
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/auxiliary/v_on_shorthand_directive.rs
crates/biome_html_formatter/src/vue/auxiliary/v_on_shorthand_directive.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{VueVOnShorthandDirective, VueVOnShorthandDirectiveFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueVOnShorthandDirective; impl FormatNodeRule<VueVOnShorthandDirective> for FormatVueVOnShorthandDirective { fn fmt_fields( ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/auxiliary/v_bind_shorthand_directive.rs
crates/biome_html_formatter/src/vue/auxiliary/v_bind_shorthand_directive.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{VueVBindShorthandDirective, VueVBindShorthandDirectiveFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueVBindShorthandDirective; impl FormatNodeRule<VueVBindShorthandDirective> for FormatVueVBindShorthandDirective { fn fm...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/auxiliary/modifier.rs
crates/biome_html_formatter/src/vue/auxiliary/modifier.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{VueModifier, VueModifierFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueModifier; impl FormatNodeRule<VueModifier> for FormatVueModifier { fn fmt_fields(&self, node: &VueModifier, f: &mut HtmlFormatter) -> FormatResult<...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/auxiliary/directive.rs
crates/biome_html_formatter/src/vue/auxiliary/directive.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{VueDirective, VueDirectiveFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueDirective; impl FormatNodeRule<VueDirective> for FormatVueDirective { fn fmt_fields(&self, node: &VueDirective, f: &mut HtmlFormatter) -> FormatR...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/auxiliary/mod.rs
crates/biome_html_formatter/src/vue/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 directive; pub(crate) mod directive_argument; pub(crate) mod dynamic_argument; pub(crate) mod modifier; pub(crate) mod static_argument; pub(crate) mod v_bind_shorthand_directive; pub(crate) mod ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/auxiliary/v_slot_shorthand_directive.rs
crates/biome_html_formatter/src/vue/auxiliary/v_slot_shorthand_directive.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{VueVSlotShorthandDirective, VueVSlotShorthandDirectiveFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueVSlotShorthandDirective; impl FormatNodeRule<VueVSlotShorthandDirective> for FormatVueVSlotShorthandDirective { fn fm...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/auxiliary/static_argument.rs
crates/biome_html_formatter/src/vue/auxiliary/static_argument.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{VueStaticArgument, VueStaticArgumentFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueStaticArgument; impl FormatNodeRule<VueStaticArgument> for FormatVueStaticArgument { fn fmt_fields(&self, node: &VueStaticArgument, f: ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/auxiliary/directive_argument.rs
crates/biome_html_formatter/src/vue/auxiliary/directive_argument.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{VueDirectiveArgument, VueDirectiveArgumentFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueDirectiveArgument; impl FormatNodeRule<VueDirectiveArgument> for FormatVueDirectiveArgument { fn fmt_fields(&self, node: &VueDire...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/auxiliary/dynamic_argument.rs
crates/biome_html_formatter/src/vue/auxiliary/dynamic_argument.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{VueDynamicArgument, VueDynamicArgumentFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatVueDynamicArgument; impl FormatNodeRule<VueDynamicArgument> for FormatVueDynamicArgument { fn fmt_fields(&self, node: &VueDynamicArgumen...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/any/directive.rs
crates/biome_html_formatter/src/vue/any/directive.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. use crate::prelude::*; use biome_html_syntax::AnyVueDirective; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAnyVueDirective; impl FormatRule<AnyVueDirective> for FormatAnyVueDirective { type Co...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/any/mod.rs
crates/biome_html_formatter/src/vue/any/mod.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. pub(crate) mod directive; pub(crate) mod directive_argument;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/vue/any/directive_argument.rs
crates/biome_html_formatter/src/vue/any/directive_argument.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. use crate::prelude::*; use biome_html_syntax::AnyVueDirectiveArgument; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAnyVueDirectiveArgument; impl FormatRule<AnyVueDirectiveArgument> for FormatAnyVu...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/astro/mod.rs
crates/biome_html_formatter/src/astro/mod.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. pub(crate) mod any; pub(crate) mod auxiliary; pub(crate) mod bogus;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/astro/bogus/bogus_frontmatter.rs
crates/biome_html_formatter/src/astro/bogus/bogus_frontmatter.rs
use crate::FormatBogusNodeRule; use biome_html_syntax::AstroBogusFrontmatter; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAstroBogusFrontmatter; impl FormatBogusNodeRule<AstroBogusFrontmatter> for FormatAstroBogusFrontmatter {}
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/astro/bogus/mod.rs
crates/biome_html_formatter/src/astro/bogus/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 bogus_frontmatter;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/astro/auxiliary/frontmatter_element.rs
crates/biome_html_formatter/src/astro/auxiliary/frontmatter_element.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{AstroFrontmatterElement, AstroFrontmatterElementFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAstroFrontmatterElement; impl FormatNodeRule<AstroFrontmatterElement> for FormatAstroFrontmatterElement { fn fmt_fields( ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/astro/auxiliary/expression.rs
crates/biome_html_formatter/src/astro/auxiliary/expression.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{AstroExpression, AstroExpressionFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAstroExpression; impl FormatNodeRule<AstroExpression> for FormatAstroExpression { fn fmt_fields(&self, node: &AstroExpression, f: &mut HtmlFor...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/astro/auxiliary/mod.rs
crates/biome_html_formatter/src/astro/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 embedded_content; pub(crate) mod frontmatter_element;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/astro/auxiliary/embedded_content.rs
crates/biome_html_formatter/src/astro/auxiliary/embedded_content.rs
use crate::prelude::*; use biome_deserialize::TextRange; use biome_html_syntax::AstroEmbeddedContent; use biome_rowan::AstNode; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAstroEmbeddedContent; impl FormatNodeRule<AstroEmbeddedContent> for FormatAstroEmbeddedContent { fn fmt_fields(&self, node: &AstroE...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/astro/any/frontmatter_element.rs
crates/biome_html_formatter/src/astro/any/frontmatter_element.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. use crate::prelude::*; use biome_html_syntax::AnyAstroFrontmatterElement; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAnyAstroFrontmatterElement; impl FormatRule<AnyAstroFrontmatterElement> for Fo...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/astro/any/mod.rs
crates/biome_html_formatter/src/astro/any/mod.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. pub(crate) mod frontmatter_element;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/utils/formatters.rs
crates/biome_html_formatter/src/utils/formatters.rs
use crate::prelude::*; use crate::{HtmlFormatter, context::HtmlFormatContext}; use biome_formatter::write; use biome_formatter::{Format, FormatResult}; use biome_html_syntax::HtmlLanguage; use biome_rowan::{Language, SyntaxToken}; use biome_string_case::StrLikeExtension; use std::borrow::Cow; // TODO: deduplicate with...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/utils/mod.rs
crates/biome_html_formatter/src/utils/mod.rs
pub mod children; pub mod formatters; pub mod metadata;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/utils/children.rs
crates/biome_html_formatter/src/utils/children.rs
use std::{ iter::{FusedIterator, Peekable}, str::Chars, }; use biome_formatter::{ Buffer, Format, FormatElement, FormatResult, format_args, prelude::*, write, }; use biome_html_syntax::{AnyHtmlContent, AnyHtmlElement}; use biome_rowan::{AstNode, SyntaxResult, TextLen, TextRange, TextSize, TokenText}; use ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/utils/metadata.rs
crates/biome_html_formatter/src/utils/metadata.rs
use std::{borrow::Cow, collections::HashMap, sync::LazyLock}; use biome_html_syntax::{AnyHtmlElement, HtmlAttributeName, HtmlTagName}; use biome_string_case::{StrLikeExtension, StrOnlyExtension}; use crate::HtmlFormatter; /// HTML tags that have an "inline" layout by default. /// /// In HTML, The inline layout treat...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/mod.rs
crates/biome_html_formatter/src/html/mod.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. pub(crate) mod any; pub(crate) mod auxiliary; pub(crate) mod bogus; pub(crate) mod lists;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/lists/element_list.rs
crates/biome_html_formatter/src/html/lists/element_list.rs
//! This implementation is very heavily inspired by the JSX formatter implementation for JsxChildList. use std::cell::RefCell; use crate::{ comments::HtmlComments, prelude::*, utils::{ children::{ HtmlChild, HtmlChildrenIterator, HtmlSpace, html_split_children, is_meaningfu...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
true
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/lists/attribute_list.rs
crates/biome_html_formatter/src/html/lists/attribute_list.rs
use crate::{html::auxiliary::attribute::FormatHtmlAttributeOptions, prelude::*}; use biome_formatter::{AttributePosition, FormatRuleWithOptions, write}; use biome_html_syntax::{AnyHtmlAttribute, HtmlAttributeList, HtmlTagName}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlAttributeList { /// Whethe...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/lists/mod.rs
crates/biome_html_formatter/src/html/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 attribute_list; pub(crate) mod element_list;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/bogus/bogus_attribute.rs
crates/biome_html_formatter/src/html/bogus/bogus_attribute.rs
use crate::FormatBogusNodeRule; use biome_html_syntax::HtmlBogusAttribute; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlBogusAttribute; impl FormatBogusNodeRule<HtmlBogusAttribute> for FormatHtmlBogusAttribute {}
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/bogus/bogus_text_expression.rs
crates/biome_html_formatter/src/html/bogus/bogus_text_expression.rs
use crate::FormatBogusNodeRule; use biome_html_syntax::HtmlBogusTextExpression; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlBogusTextExpression; impl FormatBogusNodeRule<HtmlBogusTextExpression> for FormatHtmlBogusTextExpression {}
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/bogus/mod.rs
crates/biome_html_formatter/src/html/bogus/mod.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. #[expect(clippy::module_inception)] pub(crate) mod bogus; pub(crate) mod bogus_attribute; pub(crate) mod bogus_element; pub(crate) mod bogus_text_expression;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/bogus/bogus.rs
crates/biome_html_formatter/src/html/bogus/bogus.rs
use crate::FormatBogusNodeRule; use biome_html_syntax::HtmlBogus; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlBogus; impl FormatBogusNodeRule<HtmlBogus> for FormatHtmlBogus {}
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/bogus/bogus_element.rs
crates/biome_html_formatter/src/html/bogus/bogus_element.rs
use crate::FormatBogusNodeRule; use biome_html_syntax::HtmlBogusElement; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlBogusElement; impl FormatBogusNodeRule<HtmlBogusElement> for FormatHtmlBogusElement {}
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/attribute.rs
crates/biome_html_formatter/src/html/auxiliary/attribute.rs
use crate::{ html::auxiliary::{ attribute_initializer_clause::FormatHtmlAttributeInitializerClauseOptions, attribute_name::FormatHtmlAttributeNameOptions, }, prelude::*, }; use biome_formatter::{FormatRuleWithOptions, write}; use biome_html_syntax::{HtmlAttribute, HtmlAttributeFields, HtmlTa...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/element.rs
crates/biome_html_formatter/src/html/auxiliary/element.rs
use crate::html::lists::element_list::{FormatHtmlElementListOptions, HtmlChildListLayout}; use crate::utils::metadata::is_element_whitespace_sensitive; use crate::{ html::lists::element_list::{FormatChildrenResult, FormatHtmlElementList}, prelude::*, }; use biome_formatter::{ CstFormatContext, FormatRefWith...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/single_text_expression.rs
crates/biome_html_formatter/src/html/auxiliary/single_text_expression.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{HtmlSingleTextExpression, HtmlSingleTextExpressionFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlSingleTextExpression; impl FormatNodeRule<HtmlSingleTextExpression> for FormatHtmlSingleTextExpression { fn fmt_fields( ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/closing_element.rs
crates/biome_html_formatter/src/html/auxiliary/closing_element.rs
use crate::{prelude::*, utils::metadata::is_element_whitespace_sensitive}; use biome_formatter::{FormatRuleWithOptions, write}; use biome_html_syntax::{HtmlClosingElement, HtmlClosingElementFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlClosingElement { /// Whether or not the `</tag` part is ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/string.rs
crates/biome_html_formatter/src/html/auxiliary/string.rs
use crate::prelude::*; use biome_formatter::{format_args, write}; use biome_html_syntax::{HtmlString, HtmlStringFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlString; impl FormatNodeRule<HtmlString> for FormatHtmlString { fn fmt_fields(&self, node: &HtmlString, f: &mut HtmlFormatter) -> Forma...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/content.rs
crates/biome_html_formatter/src/html/auxiliary/content.rs
use crate::prelude::*; use crate::verbatim::format_html_verbatim_node; use biome_html_syntax::HtmlContent; use biome_rowan::AstNode; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlContent; impl FormatNodeRule<HtmlContent> for FormatHtmlContent { fn fmt_fields(&self, node: &HtmlContent, f: &mut HtmlFo...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/opening_element.rs
crates/biome_html_formatter/src/html/auxiliary/opening_element.rs
use crate::{ html::lists::attribute_list::FormatHtmlAttributeListOptions, prelude::*, utils::metadata::{is_element_whitespace_sensitive, should_lowercase_html_tag}, }; use biome_formatter::{FormatRuleWithOptions, GroupId, write}; use biome_html_syntax::{HtmlOpeningElement, HtmlOpeningElementFields}; #[deriv...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/double_text_expression.rs
crates/biome_html_formatter/src/html/auxiliary/double_text_expression.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{HtmlDoubleTextExpression, HtmlDoubleTextExpressionFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlDoubleTextExpression; impl FormatNodeRule<HtmlDoubleTextExpression> for FormatHtmlDoubleTextExpression { fn fmt_fields( ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/root.rs
crates/biome_html_formatter/src/html/auxiliary/root.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{HtmlRoot, HtmlRootFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlRoot; impl FormatNodeRule<HtmlRoot> for FormatHtmlRoot { fn fmt_fields(&self, node: &HtmlRoot, f: &mut HtmlFormatter) -> FormatResult<()> { let H...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/directive.rs
crates/biome_html_formatter/src/html/auxiliary/directive.rs
use crate::{prelude::*, utils::formatters::FormatTokenAsLowercase}; use biome_formatter::write; use biome_html_syntax::{HtmlDirective, HtmlDirectiveFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlDirective; impl FormatNodeRule<HtmlDirective> for FormatHtmlDirective { fn fmt_fields(&self, node:...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/text_expression.rs
crates/biome_html_formatter/src/html/auxiliary/text_expression.rs
use crate::prelude::*; use biome_formatter::CstFormatContext; use biome_formatter::write; use biome_html_syntax::HtmlTextExpression; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlTextExpression; impl FormatNodeRule<HtmlTextExpression> for FormatHtmlTextExpression { fn fmt_fields(&self, node: &HtmlTe...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/cdata_section.rs
crates/biome_html_formatter/src/html/auxiliary/cdata_section.rs
use crate::prelude::*; use biome_formatter::write; use biome_html_syntax::{HtmlCdataSection, HtmlCdataSectionFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlCdataSection; impl FormatNodeRule<HtmlCdataSection> for FormatHtmlCdataSection { fn fmt_fields(&self, node: &HtmlCdataSection, f: &mut Ht...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/mod.rs
crates/biome_html_formatter/src/html/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 attribute; pub(crate) mod attribute_initializer_clause; pub(crate) mod attribute_name; pub(crate) mod cdata_section; pub(crate) mod closing_element; pub(crate) mod content; pub(crate) mod direct...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/attribute_name.rs
crates/biome_html_formatter/src/html/auxiliary/attribute_name.rs
use crate::{ prelude::*, utils::{formatters::FormatTokenAsLowercase, metadata::is_canonical_html_attribute}, }; use biome_formatter::{FormatRuleWithOptions, write}; use biome_html_syntax::{HtmlAttributeName, HtmlAttributeNameFields, HtmlTagName}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlAtt...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/embedded_content.rs
crates/biome_html_formatter/src/html/auxiliary/embedded_content.rs
use crate::prelude::*; use biome_html_syntax::{HtmlElement, HtmlEmbeddedContent}; use biome_rowan::{AstNode, TextRange}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlEmbeddedContent; impl FormatNodeRule<HtmlEmbeddedContent> for FormatHtmlEmbeddedContent { fn fmt_fields(&self, node: &HtmlEmbeddedCont...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/tag_name.rs
crates/biome_html_formatter/src/html/auxiliary/tag_name.rs
use crate::{ prelude::*, utils::{formatters::FormatTokenAsLowercase, metadata::should_lowercase_html_tag}, }; use biome_formatter::write; use biome_html_syntax::{HtmlTagName, HtmlTagNameFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlTagName; impl FormatNodeRule<HtmlTagName> for FormatHtml...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/self_closing_element.rs
crates/biome_html_formatter/src/html/auxiliary/self_closing_element.rs
use crate::{ html::lists::attribute_list::FormatHtmlAttributeListOptions, prelude::*, utils::metadata::should_lowercase_html_tag, }; use biome_formatter::write; use biome_html_syntax::{HtmlSelfClosingElement, HtmlSelfClosingElementFields}; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlSelfClosing...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/auxiliary/attribute_initializer_clause.rs
crates/biome_html_formatter/src/html/auxiliary/attribute_initializer_clause.rs
use std::fmt::Debug; use crate::prelude::*; use biome_formatter::{CstFormatContext, FormatRuleWithOptions, write}; use biome_html_syntax::{HtmlAttributeInitializerClause, HtmlAttributeInitializerClauseFields}; use biome_rowan::TokenText; #[derive(Debug, Clone, Default)] pub(crate) struct FormatHtmlAttributeInitialize...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/any/attribute.rs
crates/biome_html_formatter/src/html/any/attribute.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. use crate::prelude::*; use biome_html_syntax::AnyHtmlAttribute; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAnyHtmlAttribute; impl FormatRule<AnyHtmlAttribute> for FormatAnyHtmlAttribute { typ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/any/attribute_initializer.rs
crates/biome_html_formatter/src/html/any/attribute_initializer.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. use crate::prelude::*; use biome_html_syntax::AnyHtmlAttributeInitializer; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAnyHtmlAttributeInitializer; impl FormatRule<AnyHtmlAttributeInitializer> for...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/any/element.rs
crates/biome_html_formatter/src/html/any/element.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. use crate::prelude::*; use biome_html_syntax::AnyHtmlElement; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAnyHtmlElement; impl FormatRule<AnyHtmlElement> for FormatAnyHtmlElement { type Contex...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/any/content.rs
crates/biome_html_formatter/src/html/any/content.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. use crate::prelude::*; use biome_html_syntax::AnyHtmlContent; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAnyHtmlContent; impl FormatRule<AnyHtmlContent> for FormatAnyHtmlContent { type Contex...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/any/text_expression.rs
crates/biome_html_formatter/src/html/any/text_expression.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. use crate::prelude::*; use biome_html_syntax::AnyHtmlTextExpression; #[derive(Debug, Clone, Default)] pub(crate) struct FormatAnyHtmlTextExpression; impl FormatRule<AnyHtmlTextExpression> for FormatAnyHtmlText...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/html/any/mod.rs
crates/biome_html_formatter/src/html/any/mod.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. pub(crate) mod attribute; pub(crate) mod attribute_initializer; pub(crate) mod content; pub(crate) mod element; pub(crate) mod text_expression;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/mod.rs
crates/biome_html_formatter/src/svelte/mod.rs
//! This is a generated file. Don't modify it by hand! Run 'cargo codegen formatter' to re-generate the file. pub(crate) mod any; pub(crate) mod auxiliary; pub(crate) mod bogus; pub(crate) mod lists;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/lists/binding_list.rs
crates/biome_html_formatter/src/svelte/lists/binding_list.rs
use crate::prelude::*; use crate::separated::FormatAstSeparatedListExtension; use biome_html_syntax::SvelteBindingList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatSvelteBindingList; impl FormatRule<SvelteBindingList> for FormatSvelteBindingList { type Context = HtmlFormatContext; fn fmt(&self, no...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/lists/await_clauses_list.rs
crates/biome_html_formatter/src/svelte/lists/await_clauses_list.rs
use crate::prelude::*; use biome_html_syntax::SvelteAwaitClausesList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatSvelteAwaitClausesList; impl FormatRule<SvelteAwaitClausesList> for FormatSvelteAwaitClausesList { type Context = HtmlFormatContext; fn fmt(&self, node: &SvelteAwaitClausesList, f: &mut...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/lists/mod.rs
crates/biome_html_formatter/src/svelte/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 await_clauses_list; pub(crate) mod binding_list; pub(crate) mod else_if_clause_list;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/lists/else_if_clause_list.rs
crates/biome_html_formatter/src/svelte/lists/else_if_clause_list.rs
use crate::prelude::*; use biome_html_syntax::SvelteElseIfClauseList; #[derive(Debug, Clone, Default)] pub(crate) struct FormatSvelteElseIfClauseList; impl FormatRule<SvelteElseIfClauseList> for FormatSvelteElseIfClauseList { type Context = HtmlFormatContext; fn fmt(&self, node: &SvelteElseIfClauseList, f: &mut...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/bogus/mod.rs
crates/biome_html_formatter/src/svelte/bogus/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 bogus_block;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_formatter/src/svelte/bogus/bogus_block.rs
crates/biome_html_formatter/src/svelte/bogus/bogus_block.rs
use crate::FormatBogusNodeRule; use biome_html_syntax::SvelteBogusBlock; #[derive(Debug, Clone, Default)] pub(crate) struct FormatSvelteBogusBlock; impl FormatBogusNodeRule<SvelteBogusBlock> for FormatSvelteBogusBlock {}
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false