Skip to content

Commit

Permalink
chore: remove uneeded methods
Browse files Browse the repository at this point in the history
  • Loading branch information
togami2864 committed Jan 21, 2025
1 parent 03789ed commit 054316a
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions crates/biome_css_semantic/src/semantic_model/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,37 +113,9 @@ pub struct Rule {
}

impl Rule {
pub fn id(&self) -> RuleId {
self.id
}

pub fn node(&self) -> &CssSyntaxNode {
&self.node
}

pub fn range(&self) -> TextRange {
self.node.text_trimmed_range()
}

pub fn selectors(&self) -> &[Selector] {
&self.selectors
}

pub fn declarations(&self) -> &[CssDeclaration] {
&self.declarations
}

pub fn parent_id(&self) -> Option<RuleId> {
self.parent_id
}

pub fn child_ids(&self) -> &[RuleId] {
&self.child_ids
}

pub fn specificity(&self) -> Specificity {
self.specificity
}
}

/// Represents a CSS selector.
Expand Down

0 comments on commit 054316a

Please sign in to comment.