refactor(css/ast): Remove UniversalSelector (#2673)

This commit is contained in:
Alexander Akait 2021-11-08 07:29:52 +03:00 committed by GitHub
parent 98fc40988c
commit 4484d64f94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 11 deletions

View File

@ -138,12 +138,6 @@ pub struct PseudoSelector {
pub args: Tokens, pub args: Tokens,
} }
/// `*`
#[ast_node]
pub struct UniversalSelector {
pub span: Span,
}
#[ast_node("IdSelector")] #[ast_node("IdSelector")]
pub struct IdSelector { pub struct IdSelector {
pub span: Span, pub span: Span,

View File

@ -348,7 +348,6 @@ impl Visit for SpanVisualizer<'_> {
mtd!(Tokens, visit_tokens); mtd!(Tokens, visit_tokens);
mtd!(Unit, visit_unit); mtd!(Unit, visit_unit);
mtd!(UnitValue, visit_unit_value); mtd!(UnitValue, visit_unit_value);
mtd!(UniversalSelector, visit_universal_selector);
mtd!(UrlValue, visit_url_value); mtd!(UrlValue, visit_url_value);
mtd!(Value, visit_value); mtd!(Value, visit_value);

View File

@ -242,10 +242,6 @@ define!({
pub args: Tokens, pub args: Tokens,
} }
pub struct UniversalSelector {
pub span: Span,
}
pub struct IdSelector { pub struct IdSelector {
pub span: Span, pub span: Span,
pub text: Text, pub text: Text,