mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
CSS parsing error types: flatten nested enums somewhat
This commit is contained in:
parent
c64374bc58
commit
46ea99d54b
11 changed files with 242 additions and 228 deletions
|
@ -14,15 +14,12 @@ size_of_test!(test_size_of_property_declaration, properties::PropertyDeclaration
|
|||
// we only pass `&mut SourcePropertyDeclaration` references around.
|
||||
size_of_test!(test_size_of_parsed_declaration, properties::SourcePropertyDeclaration, 576);
|
||||
|
||||
size_of_test!(test_size_of_selector_parse_error_kind_with_unit, SelectorParseErrorKind<()>, 40);
|
||||
size_of_test!(test_size_of_selector_parse_error_kind, SelectorParseErrorKind, 40);
|
||||
size_of_test!(test_size_of_style_parse_error_kind, ::style_traits::StyleParseErrorKind, 80);
|
||||
size_of_test!(test_size_of_value_parse_error_kind, ::style_traits::ValueParseErrorKind, 40);
|
||||
size_of_test!(test_size_of_declaration_parse_error_kind, ::style_traits::PropertyDeclarationParseErrorKind, 72);
|
||||
size_of_test!(test_size_of_style_traits_parse_error_kind,
|
||||
SelectorParseErrorKind<::style_traits::StyleParseErrorKind>, 88);
|
||||
|
||||
size_of_test!(test_size_of_selector_parse_error_with_unit, SelectorParseError<()>, 56);
|
||||
size_of_test!(test_size_of_style_parse_error, ::style_traits::StyleParseError, 96);
|
||||
size_of_test!(test_size_of_selector_parse_error, SelectorParseError, 56);
|
||||
size_of_test!(test_size_of_style_traits_parse_error, ::style_traits::ParseError, 96);
|
||||
size_of_test!(test_size_of_value_parse_error, ::style_traits::ValueParseError, 56);
|
||||
size_of_test!(test_size_of_declaration_parse_error, ::style_traits::PropertyDeclarationParseError, 88);
|
||||
size_of_test!(test_size_of_style_traits_parse_error, ::style_traits::ParseError, 104);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue