mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
refactor(css/ast): Remove UniversalSelector
(#2673)
This commit is contained in:
parent
98fc40988c
commit
4484d64f94
@ -138,12 +138,6 @@ pub struct PseudoSelector {
|
||||
pub args: Tokens,
|
||||
}
|
||||
|
||||
/// `*`
|
||||
#[ast_node]
|
||||
pub struct UniversalSelector {
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
#[ast_node("IdSelector")]
|
||||
pub struct IdSelector {
|
||||
pub span: Span,
|
||||
|
@ -348,7 +348,6 @@ impl Visit for SpanVisualizer<'_> {
|
||||
mtd!(Tokens, visit_tokens);
|
||||
mtd!(Unit, visit_unit);
|
||||
mtd!(UnitValue, visit_unit_value);
|
||||
mtd!(UniversalSelector, visit_universal_selector);
|
||||
mtd!(UrlValue, visit_url_value);
|
||||
mtd!(Value, visit_value);
|
||||
|
||||
|
@ -242,10 +242,6 @@ define!({
|
||||
pub args: Tokens,
|
||||
}
|
||||
|
||||
pub struct UniversalSelector {
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
pub struct IdSelector {
|
||||
pub span: Span,
|
||||
pub text: Text,
|
||||
|
Loading…
Reference in New Issue
Block a user