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_grit_patterns/src/pattern_compiler/predicate_return_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/predicate_return_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritPredicateReturn; use grit_pattern_matcher::pattern::PrReturn; pub(crate) struct PrReturnCompiler; impl PrReturnCompiler { pub(crate) fn from_node( ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/predicate_call_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/predicate_call_compiler.rs
use std::collections::BTreeMap; use super::compilation_context::NodeCompilationContext; use super::{PatternCompiler, call_compiler::*}; use crate::NodeLikeArgumentError; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritPredicateCall; use biome_rowan::AstNode; use grit_pattern_match...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/where_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/where_compiler.rs
use super::{ PatternCompiler, compilation_context::NodeCompilationContext, predicate_compiler::PredicateCompiler, }; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritPatternWhere; use grit_pattern_matcher::pattern::Where; pub(crate) struct WhereCompiler; impl WhereCompiler...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/sequential_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/sequential_compiler.rs
use super::{compilation_context::NodeCompilationContext, step_compiler::StepCompiler}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::{GritFiles, GritSequential}; use grit_pattern_matcher::pattern::{Files, Pattern, Sequential, Some, Step}; pub(crate) struct SequentialCompiler; impl ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/function_definition_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/function_definition_compiler.rs
use super::{and_compiler::PrAndCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_rowan::AstNode; use grit_pattern_matcher::pattern::{GritFunctionDefinition, Predicate}; use std::collections::BTreeMap; pub struct FunctionDefinitionCompiler; imp...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/call_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/call_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, NodeLikeArgumentError, grit_context::GritQueryContext}; use biome_grit_syntax::{ AnyGritMaybeNamedArg, AnyGritPattern, GritNamedArgList, GritNodeLike, GritSyntaxKind, }; use biome_rowan::AstNode; use grit_pattern_ma...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/and_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/and_compiler.rs
use super::{ PatternCompiler, compilation_context::NodeCompilationContext, predicate_compiler::PredicateCompiler, }; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::{GritPatternAnd, GritPatternList, GritPredicateAnd, GritPredicateList}; use grit_pattern_matcher::pattern::{And, ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/match_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/match_compiler.rs
use super::{ PatternCompiler, compilation_context::NodeCompilationContext, container_compiler::ContainerCompiler, }; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::{AnyGritPredicateMatchSubject, GritPredicateMatch}; use biome_rowan::AstNode; use grit_pattern_matcher::pattern::...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/within_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/within_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritWithin; use grit_pattern_matcher::pattern::Within; pub(crate) struct WithinCompiler; impl WithinCompiler { pub(crate) fn from_node( node: &GritWi...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/container_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/container_compiler.rs
use super::{ compilation_context::NodeCompilationContext, list_index_compiler::ListIndexCompiler, map_accessor_compiler::MapAccessorCompiler, variable_compiler::VariableCompiler, }; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::{AnyGritContainer, GritSyntaxKind}; use grit_pat...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/like_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/like_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritLike; use grit_pattern_matcher::pattern::{FloatConstant, Like, Pattern}; pub(crate) struct LikeCompiler; impl LikeCompiler { pub(crate) fn from_node( ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/map_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/map_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::{AnyGritMapElement, GritMap, GritSyntaxKind}; use biome_rowan::AstNode; use grit_pattern_matcher::pattern::{GritMap as Map, Pattern}; use std::collections::BTreeMa...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/not_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/not_compiler.rs
use super::{ PatternCompiler, compilation_context::NodeCompilationContext, predicate_compiler::PredicateCompiler, }; use crate::{CompileError, diagnostics::CompilerDiagnostic, grit_context::GritQueryContext}; use biome_grit_syntax::{GritPatternNot, GritPredicateNot}; use biome_rowan::AstNode; use grit_pattern_m...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/some_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/some_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritSome; use grit_pattern_matcher::pattern::Some; pub(crate) struct SomeCompiler; impl SomeCompiler { pub(crate) fn from_node( node: &GritSome, ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/pattern_definition_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/pattern_definition_compiler.rs
use super::{and_compiler::AndCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritPatternDefinition; use biome_rowan::AstNode; use grit_pattern_matcher::pattern::{Pattern, PatternDefinition}; use std::collections::BTreeMap; pub st...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/any_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/any_compiler.rs
use super::{ PatternCompiler, compilation_context::NodeCompilationContext, predicate_compiler::PredicateCompiler, }; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::{GritPatternAny, GritPredicateAny}; use grit_pattern_matcher::pattern::{Any, PrAny}; pub(crate) struct AnyCompil...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/compilation_context.rs
crates/biome_grit_patterns/src/pattern_compiler/compilation_context.rs
#![allow(clippy::needless_lifetimes)] use grit_pattern_matcher::pattern::VariableSource; use grit_util::ByteRange; use crate::{ diagnostics::CompilerDiagnostic, grit_built_in_functions::BuiltIns, grit_target_language::GritTargetLanguage, }; use camino::Utf8Path; use std::collections::BTreeMap; pub(crate) stru...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/if_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/if_compiler.rs
use super::{ PatternCompiler, compilation_context::NodeCompilationContext, predicate_compiler::PredicateCompiler, }; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::{GritPatternIfElse, GritPredicateIfElse}; use grit_pattern_matcher::pattern::{If, PrIf}; pub(crate) struct IfCom...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/before_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/before_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritPatternBefore; use grit_pattern_matcher::pattern::Before; pub(crate) struct BeforeCompiler; impl BeforeCompiler { pub(crate) fn from_node( node: ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/node_like_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/node_like_compiler.rs
use super::compilation_context::NodeCompilationContext; use super::{PatternCompiler, call_compiler::*}; use crate::NodeLikeArgumentError; use crate::grit_node_patterns::{GritNodePattern, GritNodePatternArg}; use crate::grit_target_node::GritTargetSyntaxKind; use crate::{CompileError, grit_context::GritQueryContext}; us...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/maybe_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/maybe_compiler.rs
use super::{ PatternCompiler, compilation_context::NodeCompilationContext, predicate_compiler::PredicateCompiler, }; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::{GritPatternMaybe, GritPredicateMaybe}; use grit_pattern_matcher::pattern::{Maybe, PrMaybe}; pub(crate) struct M...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/modulo_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/modulo_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritModOperation; use grit_pattern_matcher::pattern::Modulo; pub(crate) struct ModuloCompiler; impl ModuloCompiler { pub(crate) fn from_node( node: &...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/subtract_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/subtract_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritSubOperation; use grit_pattern_matcher::pattern::Subtract; pub(crate) struct SubtractCompiler; impl SubtractCompiler { pub(crate) fn from_node( n...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/bubble_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/bubble_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext, util::TextRangeGritExt}; use biome_grit_syntax::GritBubble; use biome_rowan::AstNode; use grit_pattern_matcher::pattern::{Bubble, Pattern, PatternDefinition}; use std::collections::BTreeM...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/after_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/after_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritPatternAfter; use grit_pattern_matcher::pattern::After; pub(crate) struct AfterCompiler; impl AfterCompiler { pub(crate) fn from_node( node: &Gri...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/assignment_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/assignment_compiler.rs
use super::{ PatternCompiler, compilation_context::NodeCompilationContext, container_compiler::ContainerCompiler, }; use crate::{ CompileError, grit_context::GritQueryContext, grit_target_language::GritTargetLanguage, }; use biome_grit_syntax::{GritAssignmentAsPattern, GritPredicateAssignment}; use biome_ro...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/includes_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/includes_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritPatternIncludes; use grit_pattern_matcher::pattern::Includes; pub(crate) struct IncludesCompiler; impl IncludesCompiler { pub(crate) fn from_node( ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/regex_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/regex_compiler.rs
use super::{compilation_context::NodeCompilationContext, variable_compiler::VariableCompiler}; use crate::{ CompileError, diagnostics::CompilerDiagnostic, grit_context::GritQueryContext, pattern_compiler::snippet_compiler::parse_snippet_content, util::TextRangeGritExt, }; use biome_grit_syntax::{AnyGritRegex, G...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/contains_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/contains_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritPatternContains; use grit_pattern_matcher::pattern::Contains; pub(crate) struct ContainsCompiler; impl ContainsCompiler { pub(crate) fn from_node( ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/limit_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/limit_compiler.rs
use super::{PatternCompiler, compilation_context::NodeCompilationContext}; use crate::{CompileError, grit_context::GritQueryContext}; use biome_grit_syntax::GritPatternLimit; use grit_pattern_matcher::pattern::Limit; pub(crate) struct LimitCompiler; impl LimitCompiler { pub(crate) fn from_node( node: &Gri...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/pattern_compiler/variable_compiler.rs
crates/biome_grit_patterns/src/pattern_compiler/variable_compiler.rs
use super::compilation_context::NodeCompilationContext; use crate::util::TextRangeGritExt; use biome_grit_syntax::GritVariable; use biome_rowan::AstNode; use camino::Utf8Path; use grit_pattern_matcher::constants::GLOBAL_VARS_SCOPE_INDEX; use grit_pattern_matcher::pattern::{Variable, VariableSource}; use grit_util::Byte...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/grit_target_language/css_target_language.rs
crates/biome_grit_patterns/src/grit_target_language/css_target_language.rs
mod constants; pub mod generated_mappings; use super::{ DisregardedSlotCondition, GritTargetLanguageImpl, LeafEquivalenceClass, LeafNormalizer, normalize_quoted_string, }; use crate::{ CompileError, grit_target_node::{GritTargetNode, GritTargetSyntaxKind}, }; use biome_css_syntax::{CssLanguage, CssSynt...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/grit_target_language/js_target_language.rs
crates/biome_grit_patterns/src/grit_target_language/js_target_language.rs
mod constants; pub mod generated_mappings; use super::{ DisregardedSlotCondition, GritTargetLanguageImpl, LeafEquivalenceClass, LeafNormalizer, normalize_quoted_string, }; use crate::{ CompileError, grit_target_node::{GritTargetNode, GritTargetSyntaxKind}, }; use biome_js_syntax::{JsLanguage, JsSyntaxK...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/grit_target_language/js_target_language/generated_mappings.rs
crates/biome_grit_patterns/src/grit_target_language/js_target_language/generated_mappings.rs
//! Generated file, do not edit by hand, see `xtask/codegen` //! Maps GritQL pattern names to Biome's internal syntax kinds. use biome_js_syntax as lang; use biome_rowan::AstNode; use lang::JsSyntaxKind; /// A legacy TreeSitter pattern for backward compatibility. pub struct LegacyTreeSitterPattern { pub name: &'s...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
true
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/grit_target_language/js_target_language/constants.rs
crates/biome_grit_patterns/src/grit_target_language/js_target_language/constants.rs
//! Generated file, do not edit by hand, see `xtask/codegen` use crate::grit_target_language::DisregardedSlotCondition::{self, *}; use biome_js_syntax::JsSyntaxKind::{self, *}; pub(crate) const DISREGARDED_SNIPPET_SLOTS: &[(JsSyntaxKind, u32, DisregardedSlotCondition)] = &[ (JS_ARROW_FUNCTION_EXPRESSION, 0, OnlyI...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/grit_target_language/css_target_language/generated_mappings.rs
crates/biome_grit_patterns/src/grit_target_language/css_target_language/generated_mappings.rs
//! Generated file, do not edit by hand, see `xtask/codegen` //! Maps GritQL pattern names to Biome's internal syntax kinds. use biome_css_syntax as lang; use biome_rowan::AstNode; use lang::CssSyntaxKind; /// Returns the syntax kind for a legacy or native node name. pub fn kind_by_name(node_name: &str) -> Option<Css...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/src/grit_target_language/css_target_language/constants.rs
crates/biome_grit_patterns/src/grit_target_language/css_target_language/constants.rs
//! Generated file, do not edit by hand, see `xtask/codegen` use crate::grit_target_language::DisregardedSlotCondition::{self, *}; use biome_css_syntax::CssSyntaxKind::{self, *}; pub(crate) const DISREGARDED_SNIPPET_SLOTS: &[(CssSyntaxKind, u32, DisregardedSlotCondition)] = &[ (CSS_DECLARATION_WITH_SEMICOLON, 1, ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/tests/quick_test.rs
crates/biome_grit_patterns/tests/quick_test.rs
use biome_grit_parser::parse_grit; use biome_grit_patterns::{ GritQuery, GritQueryResult, GritTargetFile, GritTargetLanguage, JsTargetLanguage, }; use biome_js_parser::{JsParserOptions, parse}; use biome_js_syntax::JsFileSource; // Use this test to quickly execute a Grit query against a source snippet. #[ignore] #...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_grit_patterns/tests/spec_tests.rs
crates/biome_grit_patterns/tests/spec_tests.rs
use biome_diagnostics::Diagnostic; use biome_grit_parser::parse_grit; use biome_grit_patterns::{ GritQuery, GritQueryEffect, GritTargetFile, GritTargetLanguage, JsTargetLanguage, Message, OutputFile, }; use biome_test_utils::register_leak_checker; use camino::Utf8Path; use grit_util::Range; use std::{fs::read_t...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lib.rs
crates/biome_html_analyze/src/lib.rs
#![deny(clippy::use_self)] mod a11y; mod lint; pub mod options; mod registry; mod suppression_action; pub use crate::registry::visit_registry; use crate::suppression_action::HtmlSuppressionAction; use biome_analyze::{ AnalysisFilter, AnalyzerOptions, AnalyzerSignal, AnalyzerSuppression, ControlFlow, LanguageR...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/suppression_action.rs
crates/biome_html_analyze/src/suppression_action.rs
use biome_analyze::{ApplySuppression, SuppressionAction}; use biome_html_syntax::{HtmlLanguage, HtmlSyntaxToken}; use biome_rowan::{BatchMutation, TriviaPieceKind}; pub(crate) struct HtmlSuppressionAction; impl SuppressionAction for HtmlSuppressionAction { type Language = HtmlLanguage; fn find_token_for_inli...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint.rs
crates/biome_html_analyze/src/lint.rs
//! Generated file, do not edit by hand, see `xtask/codegen` //! Generated file, do not edit by hand, see `xtask/codegen` pub mod a11y; pub mod nursery; ::biome_analyze::declare_category! { pub Lint { kind : Lint , groups : [self :: a11y :: A11y , self :: nursery :: Nursery ,] } }
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/a11y.rs
crates/biome_html_analyze/src/a11y.rs
use biome_html_syntax::element_ext::AnyHtmlTagElement; /// Check the element is hidden from screen reader. /// /// Ref: /// - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-hidden /// - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden /// - https://github.com/jsx-...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/registry.rs
crates/biome_html_analyze/src/registry.rs
//! Generated file, do not edit by hand, see `xtask/codegen` use biome_analyze::RegistryVisitor; use biome_html_syntax::HtmlLanguage; pub fn visit_registry<V: RegistryVisitor<HtmlLanguage>>(registry: &mut V) { registry.record_category::<crate::lint::Lint>(); }
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/options.rs
crates/biome_html_analyze/src/options.rs
//! Generated file, do not edit by hand, see `xtask/codegen` //! Generated file, do not edit by hand, see `xtask/codegen` use crate::lint; pub type NoHeaderScope = <lint::a11y::no_header_scope::NoHeaderScope as biome_analyze::Rule>::Options;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/a11y.rs
crates/biome_html_analyze/src/lint/a11y.rs
//! Generated file, do not edit by hand, see `xtask/codegen` //! Generated file, do not edit by hand, see `xtask/codegen` use biome_analyze::declare_lint_group; pub mod no_header_scope; declare_lint_group! { pub A11y { name : "a11y" , rules : [self :: no_header_scope :: NoHeaderScope ,] } }
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery.rs
crates/biome_html_analyze/src/lint/nursery.rs
//! Generated file, do not edit by hand, see `xtask/codegen` //! Generated file, do not edit by hand, see `xtask/codegen` use biome_analyze::declare_lint_group; pub mod no_ambiguous_anchor_text; pub mod no_script_url; pub mod no_sync_scripts; pub mod no_vue_v_if_with_v_for; pub mod use_vue_consistent_v_bind_style; pu...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/a11y/no_header_scope.rs
crates/biome_html_analyze/src/lint/a11y/no_header_scope.rs
use biome_analyze::context::RuleContext; use biome_analyze::{Ast, FixKind, Rule, RuleDiagnostic, RuleSource, declare_lint_rule}; use biome_console::markup; use biome_diagnostics::Severity; use biome_html_syntax::{AnyHtmlElement, HtmlAttribute}; use biome_rowan::{AstNode, BatchMutationExt}; use crate::HtmlRuleAction; ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_hyphenated_attributes.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_hyphenated_attributes.rs
use biome_analyze::{ Ast, FixKind, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{ AnyHtmlAttribute, HtmlAttributeList, HtmlOpeningElement, HtmlSelfClosingElement, HtmlTagName, }; use biome_rowan::{AstNode, AstNode...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_else.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_else.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{AnyVueDirective, HtmlElement, HtmlSelfClosingElement, VueDirective}; use biome_rowan::{AstNode, TextRange, declare_node_union}; use biome_rule_option...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/no_vue_v_if_with_v_for.rs
crates/biome_html_analyze/src/lint/nursery/no_vue_v_if_with_v_for.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::HtmlAttributeList; use biome_rowan::{AstNode, AstNodeList, TextRange}; use biome_rule_options::no_vue_v_if_with_v_for::NoVueVIfWithVForOptions; decla...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_on.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_on.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{AnyVueDirective, VueModifierList}; use biome_rowan::{AstNode, TextRange}; use biome_rule_options::use_vue_valid_v_on::UseVueValidVOnOptions; use std:...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_if.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_if.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{AnyVueDirective, HtmlElement, VueDirective}; use biome_rowan::{AstNode, AstNodeList, TextRange}; use biome_rule_options::use_vue_valid_v_if::UseVueVa...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_cloak.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_cloak.rs
use biome_analyze::{ Ast, FixKind, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::VueDirective; use biome_rowan::BatchMutationExt; use biome_rowan::{AstNode, TextRange}; use biome_rule_options::use_vue_valid_v_cloak::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_analyze/src/lint/nursery/use_vue_v_for_key.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_v_for_key.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{AnyVueDirective, HtmlAttributeList, VueDirectiveArgument}; use biome_rowan::{AstNode, AstNodeList, TextRange}; use biome_rule_options::use_vue_v_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_analyze/src/lint/nursery/no_sync_scripts.rs
crates/biome_html_analyze/src/lint/nursery/no_sync_scripts.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::HtmlOpeningElement; use biome_rowan::AstNode; use biome_rule_options::no_sync_scripts::NoSyncScriptsOptions; declare_lint_rule! { /// Prevent the usage of sy...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_vapor.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_vapor.rs
use biome_analyze::{ Ast, FixKind, Rule, RuleDiagnostic, RuleDomain, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_factory::make; use biome_html_syntax::{ AnyHtmlAttribute, HtmlAttributeList, HtmlOpeningElement, HtmlSyntaxKind, HtmlSyntaxToken, }; use biome_rowan::{AstNod...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_pre.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_pre.rs
use biome_analyze::{ Ast, FixKind, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::VueDirective; use biome_rowan::BatchMutationExt; use biome_rowan::{AstNode, TextRange}; use biome_rule_options::use_vue_valid_v_pre::UseV...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_bind.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_bind.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{AnyVueDirective, VueModifierList}; use biome_rowan::{AstNode, TextRange}; use biome_rule_options::use_vue_valid_v_bind::UseVueValidVBindOptions; dec...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_text.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_text.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{AnyHtmlAttributeInitializer, VueDirective, inner_string_text}; use biome_rowan::{AstNode, AstNodeList, TextRange}; use biome_rule_options::use_vue_va...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_html.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_html.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{AnyHtmlAttributeInitializer, VueDirective, inner_string_text}; use biome_rowan::{AstNode, AstNodeList, TextRange}; use biome_rule_options::use_vue_va...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/no_script_url.rs
crates/biome_html_analyze/src/lint/nursery/no_script_url.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_diagnostics::Severity; use biome_html_syntax::{AnyHtmlAttributeInitializer, HtmlOpeningElement, inner_string_text}; use biome_rowan::{AstNode, TextRange}; use biome_rule_optio...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_template_root.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_template_root.rs
use biome_analyze::{ Ast, FixKind, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{HtmlElement, HtmlRoot}; use biome_rowan::{AstNode, AstNodeList, BatchMutationExt}; use biome_rule_options::use_vue_valid_template_root::...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/no_ambiguous_anchor_text.rs
crates/biome_html_analyze/src/lint/nursery/no_ambiguous_anchor_text.rs
use biome_analyze::{ Ast, QueryMatch, Rule, RuleDiagnostic, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{ AnyHtmlContent, AnyHtmlElement, HtmlElement, HtmlOpeningElement, element_ext::AnyHtmlTagElement, inner_string_text, }; use biome_rowan::AstN...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_once.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_once.rs
use biome_analyze::{ Ast, FixKind, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::VueDirective; use biome_rowan::BatchMutationExt; use biome_rowan::{AstNode, TextRange}; use biome_rule_options::use_vue_valid_v_once::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_analyze/src/lint/nursery/use_vue_consistent_v_on_style.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_consistent_v_on_style.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_factory::make; use biome_html_syntax::{AnyVueDirective, HtmlSyntaxKind, HtmlSyntaxToken, T}; use biome_rowan::AstNode; use biome_rule_options::use_vue_consist...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_else_if.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_valid_v_else_if.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_syntax::{AnyVueDirective, HtmlElement, HtmlSelfClosingElement, VueDirective}; use biome_rowan::{AstNode, AstNodeList, TextRange, declare_node_union}; use biom...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/src/lint/nursery/use_vue_consistent_v_bind_style.rs
crates/biome_html_analyze/src/lint/nursery/use_vue_consistent_v_bind_style.rs
use biome_analyze::{ Ast, Rule, RuleDiagnostic, RuleDomain, RuleSource, context::RuleContext, declare_lint_rule, }; use biome_console::markup; use biome_html_factory::make; use biome_html_syntax::AnyVueDirective; use biome_rowan::AstNode; use biome_rule_options::use_vue_consistent_v_bind_style::{ UseVueConsiste...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_html_analyze/tests/spec_tests.rs
crates/biome_html_analyze/tests/spec_tests.rs
use biome_analyze::{AnalysisFilter, AnalyzerAction, ControlFlow, Never, RuleFilter}; use biome_diagnostics::advice::CodeSuggestionAdvice; use biome_html_parser::parse_html; use biome_html_syntax::{HtmlFileSource, HtmlLanguage}; use biome_rowan::AstNode; use biome_test_utils::{ CheckActionType, assert_diagnostics_ex...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_line_index/src/lib.rs
crates/biome_line_index/src/lib.rs
//! The crate contains tools for converting between byte offsets and line / column positions. #![deny(clippy::use_self)] use biome_text_size::TextSize; mod line_index; pub use line_index::LineIndex; #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub enum WideEncoding { Utf16, Utf32, } #[derive(Clone, ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_line_index/src/line_index.rs
crates/biome_line_index/src/line_index.rs
//! `LineIndex` maps flat `TextSize` offsets into `(Line, Column)` //! representation. use std::mem; use biome_text_size::TextSize; use rustc_hash::FxHashMap; use crate::{LineCol, WideChar, WideEncoding, WideLineCol}; #[derive(Clone, Debug, PartialEq, Eq)] pub struct LineIndex { /// Offset the beginning of each...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_transform/src/lib.rs
crates/biome_js_transform/src/lib.rs
#![deny(clippy::use_self)] mod declare_transformation; mod registry; mod transformers; use crate::registry::visit_transformation_registry; use biome_analyze::{ AnalysisFilter, Analyzer, AnalyzerContext, AnalyzerOptions, AnalyzerSignal, ApplySuppression, ControlFlow, InspectMatcher, LanguageRoot, MatchQueryPar...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_transform/src/declare_transformation.rs
crates/biome_js_transform/src/declare_transformation.rs
#[macro_export] macro_rules! declare_transformation { ( $( #[doc = $doc:literal] )+ $vis:vis $id:ident { version: $version:literal, name: $name:tt, language: $language:literal, $( $key:ident: $value:expr, )* } ) => { $( #[doc = $doc] )* $vis enum $id {} i...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_transform/src/registry.rs
crates/biome_js_transform/src/registry.rs
use crate::transformers::ts_enum::TsEnum; use biome_analyze::{GroupCategory, RegistryVisitor, RuleCategory, RuleGroup}; use biome_js_syntax::JsLanguage; pub(crate) struct TransformationGroup; pub(crate) struct TransformationCategory; impl GroupCategory for TransformationCategory { type Language = JsLanguage; ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_transform/src/transformers/mod.rs
crates/biome_js_transform/src/transformers/mod.rs
pub(crate) mod ts_enum;
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_transform/src/transformers/ts_enum.rs
crates/biome_js_transform/src/transformers/ts_enum.rs
use crate::{JsBatchMutation, declare_transformation}; use biome_analyze::context::RuleContext; use biome_analyze::{Ast, Rule}; use biome_js_factory::make::{ ident, js_assignment_expression, js_call_argument_list, js_call_arguments, js_call_expression, js_computed_member_assignment, js_decorator_list, js_directi...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_transform/tests/spec_tests.rs
crates/biome_js_transform/tests/spec_tests.rs
use biome_analyze::{AnalysisFilter, AnalyzerTransformation, ControlFlow, Never, RuleFilter}; use biome_js_formatter::context::JsFormatOptions; use biome_js_formatter::format_node; use biome_js_parser::{JsParserOptions, parse}; use biome_js_syntax::{JsFileSource, JsLanguage}; use biome_rowan::AstNode; use biome_test_uti...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/binding_ext.rs
crates/biome_js_syntax/src/binding_ext.rs
use crate::{ AnyJsImportClause, AnyJsNamedImportSpecifier, JsArrayBindingPatternElement, JsArrayBindingPatternRestElement, JsArrowFunctionExpression, JsBogusNamedImportSpecifier, JsBogusParameter, JsCatchDeclaration, JsClassDeclaration, JsClassExportDefaultDeclaration, JsClassExpression, JsConstructorCl...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/import_ext.rs
crates/biome_js_syntax/src/import_ext.rs
use crate::{ AnyJsBinding, AnyJsCombinedSpecifier, AnyJsImportClause, AnyJsModuleSource, AnyJsNamedImportSpecifier, JsCallExpression, JsDefaultImportSpecifier, JsImport, JsImportAssertion, JsImportCallExpression, JsModuleSource, JsNamedImportSpecifier, JsNamedImportSpecifiers, JsNamespaceImportSpecifier...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/lib.rs
crates/biome_js_syntax/src/lib.rs
//! A crate for generated Syntax node definitions and utility macros. //! Both rome_js_lexer and biome_js_parser rely on these definitions, therefore //! they are wrapped in this crate to prevent cyclic dependencies #![deny(clippy::use_self)] #[macro_use] mod generated; pub mod assign_ext; pub mod binary_like_express...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/function_ext.rs
crates/biome_js_syntax/src/function_ext.rs
use crate::{ AnyJsCallArgument, AnyJsFunction, AnyJsFunctionBody, JsCallArguments, JsConstructorClassMember, JsMethodClassMember, JsMethodObjectMember, JsStatementList, JsSyntaxToken, }; use biome_rowan::{AstNode, SyntaxResult, TextRange, declare_node_union}; declare_node_union! { pub AnyFunctionLike = Any...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/modifier_ext.rs
crates/biome_js_syntax/src/modifier_ext.rs
use enumflags2::BitFlags; use crate::{ AnyJsMethodModifier, AnyJsPropertyModifier, AnyTsIndexSignatureModifier, AnyTsMethodSignatureModifier, AnyTsPropertyParameterModifier, AnyTsPropertySignatureModifier, AnyTsTypeParameterModifier, JsMethodModifierList, JsPropertyModifierList, JsSyntaxKind, TsAccessi...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/stmt_ext.rs
crates/biome_js_syntax/src/stmt_ext.rs
//! Extended AST node definitions for statements which are unique and special enough to generate code for manually use crate::{ AnyJsArrayAssignmentPatternElement, AnyJsAssignmentPattern, AnyJsSwitchClause, JsBlockStatement, JsBreakStatement, JsCatchClause, JsContinueStatement, JsFinallyClause, JsForVariab...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/syntax_node.rs
crates/biome_js_syntax/src/syntax_node.rs
//! This module defines the Concrete Syntax Tree used by Biome. //! //! The tree is entirely lossless, whitespace, comments, and errors are preserved. //! It also provides traversal methods including parent, children, and siblings of nodes. //! //! This is a simple wrapper around the `rowan` crate which does most of th...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/unescape.rs
crates/biome_js_syntax/src/unescape.rs
use biome_rowan::{Text, TokenText}; /// Returns `text` with escape sequences processed. /// /// If nothing is escaped, `text` is returned without any allocation. If at /// least one character is escaped, then a string is allocated and holds the /// unescaped string. /// /// This function must be called on the `inner_s...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/directive_ext.rs
crates/biome_js_syntax/src/directive_ext.rs
use biome_rowan::{SyntaxResult, TokenText}; use crate::{JsDirective, inner_string_text}; impl JsDirective { /// Get the inner text of a string not including the quotes /// /// ## Examples /// /// ``` /// use biome_js_factory::syntax::{JsDirective, JsSyntaxKind::*}; /// use biome_js_factory...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/jsx_ext.rs
crates/biome_js_syntax/src/jsx_ext.rs
use std::collections::HashSet; use crate::{ AnyJsxAttribute, AnyJsxAttributeName, AnyJsxAttributeValue, AnyJsxChild, AnyJsxElementName, AnyJsxTag, JsSyntaxToken, JsxAttribute, JsxAttributeList, JsxElement, JsxOpeningElement, JsxSelfClosingElement, JsxString, inner_string_text, static_value::StaticValue, };...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/file_source.rs
crates/biome_js_syntax/src/file_source.rs
use biome_rowan::FileSourceError; use biome_string_case::StrLikeExtension; use camino::Utf8Path; use std::borrow::Cow; /// Enum of the different ECMAScript standard versions. /// The versions are ordered in increasing order; The newest version comes last. /// /// Defaults to the latest stable ECMAScript standard. #[cf...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/misc_ext.rs
crates/biome_js_syntax/src/misc_ext.rs
use biome_rowan::{AstNode, SyntaxResult, declare_node_union}; use crate::{ JsParenthesizedAssignment, JsParenthesizedExpression, JsSyntaxNode, JsSyntaxToken, TsParenthesizedType, }; declare_node_union! { pub AnyJsParenthesized = JsParenthesizedExpression | JsParenthesizedAssignment ...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/expression_left_side.rs
crates/biome_js_syntax/src/expression_left_side.rs
use biome_rowan::{AstNode, declare_node_union}; use crate::{ AnyJsAssignment, AnyJsAssignmentPattern, AnyJsExpression, JsPrivateName, binary_like_expression::{AnyJsBinaryLikeExpression, AnyJsBinaryLikeLeftExpression}, }; declare_node_union! { pub AnyJsExpressionLeftSide = AnyJsExpression | JsPrivateName |...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/type_ext.rs
crates/biome_js_syntax/src/type_ext.rs
use biome_rowan::{AstNode, SyntaxResult, declare_node_union}; use std::iter; use crate::{AnyTsReturnType, AnyTsType, TsConditionalType, TsConstructorType, TsFunctionType}; impl AnyTsType { /// Try to extract non `TsParenthesizedType` from `AnyTsType` pub fn omit_parentheses(self) -> Self { let first =...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/numbers.rs
crates/biome_js_syntax/src/numbers.rs
//! JS Number parsing. use std::{borrow::Cow, str::FromStr}; /// Split given string into radix and number string. /// /// It also removes any underscores. pub fn split_into_radix_and_number(num: &str) -> (u8, Cow<'_, str>) { let (radix, raw) = parse_js_number_prefix(num).unwrap_or((10, num)); let raw = if raw...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/parameter_ext.rs
crates/biome_js_syntax/src/parameter_ext.rs
use crate::{ AnyJsBindingPattern, AnyJsConstructorParameter, AnyJsFormalParameter, AnyJsParameter, JsConstructorParameterList, JsConstructorParameters, JsDecoratorList, JsLanguage, JsParameterList, JsParameters, TsTypeAnnotation, }; use biome_rowan::{ AstNodeList, AstSeparatedList, AstSeparatedListNodes...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/union_ext.rs
crates/biome_js_syntax/src/union_ext.rs
use crate::{ AnyJsArrowFunctionParameters, AnyJsBinding, AnyJsClass, AnyJsClassMember, AnyJsClassMemberName, AnyJsFunction, AnyJsFunctionBody, AnyTsPropertyAnnotation, AnyTsPropertySignatureAnnotation, AnyTsVariableAnnotation, JsClassMemberList, JsDecoratorList, JsExtendsClause, JsInitializerClause, JsS...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/assign_ext.rs
crates/biome_js_syntax/src/assign_ext.rs
use biome_rowan::{SyntaxResult, declare_node_union}; use crate::{AnyJsExpression, JsComputedMemberAssignment, JsStaticMemberAssignment}; declare_node_union! { pub AnyJsMemberAssignment = JsComputedMemberAssignment | JsStaticMemberAssignment } impl AnyJsMemberAssignment { pub fn object(&self) -> SyntaxResult<...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/binary_like_expression.rs
crates/biome_js_syntax/src/binary_like_expression.rs
//! Binary like nodes are nodes with `left` and `right` expressions. They include: //! - [JsBinaryExpression] //! - [JsLogicalExpression] //! - [JsInExpression] //! - [JsInstanceofExpression] use crate::{ AnyJsExpression, AnyJsInProperty, JsArrowFunctionExpression, JsBinaryExpression, JsBinaryOperator, JsDoWhi...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/expr_ext.rs
crates/biome_js_syntax/src/expr_ext.rs
//! Extensions for things which are not easily generated in ast expr nodes use crate::numbers::parse_js_number; use crate::static_value::StaticValue; use crate::{ AnyJsArrayElement, AnyJsArrowFunctionParameters, AnyJsCallArgument, AnyJsClassMemberName, AnyJsExpression, AnyJsFunctionBody, AnyJsLiteralExpression,...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
true
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/static_value.rs
crates/biome_js_syntax/src/static_value.rs
use biome_rowan::TextRange; use crate::{JsSyntaxKind, JsSyntaxToken}; #[derive(Debug, Clone, Eq, PartialEq)] /// static values defined in JavaScript's expressions pub enum StaticValue { Boolean(JsSyntaxToken), Null(JsSyntaxToken), Undefined(JsSyntaxToken), Number(JsSyntaxToken), BigInt(JsSyntaxTok...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/export_ext.rs
crates/biome_js_syntax/src/export_ext.rs
use biome_rowan::{AstNode, SyntaxResult, Text, declare_node_union}; use crate::{ AnyJsBindingPattern, AnyJsDeclarationClause, AnyJsExportClause, AnyJsExportDefaultDeclaration, AnyJsExportNamedSpecifier, AnyJsExpression, AnyTsIdentifierBinding, AnyTsType, JsClassDeclaration, JsClassExportDefaultDeclaration,...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false
biomejs/biome
https://github.com/biomejs/biome/blob/499594b74475be0ae81ce50858e76c9c97b8c48f/crates/biome_js_syntax/src/declaration_ext.rs
crates/biome_js_syntax/src/declaration_ext.rs
use biome_rowan::AstNode; use crate::{ AnyJsDeclaration, AnyJsDeclarationClause, JsClassDeclaration, JsSyntaxKind, JsSyntaxNode, TsEnumDeclaration, }; impl AnyJsDeclarationClause { pub fn into_declaration(self) -> Option<AnyJsDeclaration> { match self { Self::JsClassDeclaration(decl) =...
rust
Apache-2.0
499594b74475be0ae81ce50858e76c9c97b8c48f
2026-01-04T15:39:05.365085Z
false