css_ast/types/
mod.rs

1mod absolute_size;
2mod anchor_name;
3mod animateable_feature;
4mod animation_action;
5mod attachment;
6mod auto_line_color_list;
7mod auto_line_style_list;
8mod auto_line_width_list;
9mod auto_or;
10mod autonone_or;
11mod autospace;
12mod baseline_position;
13mod basic_shape_rect;
14mod bg_clip;
15mod bg_size;
16mod blend_mode;
17mod border_radius;
18mod color;
19mod compat_auto;
20mod compat_special;
21mod content_distribution;
22mod content_list;
23mod content_position;
24mod coord_box;
25mod corner_shape_value;
26mod counter_style;
27mod cursor_image;
28mod cursor_predefined;
29mod custom_ident;
30mod dashed_ident;
31mod display_box;
32mod display_inside;
33mod display_internal;
34mod display_legacy;
35mod display_listitem;
36mod display_outside;
37mod event_trigger_event;
38mod family_name;
39mod font_weight_absolute;
40mod gap_auto_rule_list;
41mod gap_rule_list;
42mod generic_family;
43mod grid_line;
44mod image;
45mod image_1d;
46mod isolation_mode;
47mod layout_box;
48mod line_color_list;
49mod line_style;
50mod line_style_list;
51mod line_width_list;
52mod line_width_or_repeat;
53mod none_or;
54mod opacity_value;
55mod outline_style;
56mod overflow_position;
57mod paint_box;
58mod palette_identifier;
59mod position;
60mod position_area;
61mod positive_non_zero_int;
62mod quote;
63mod ratio;
64mod relative_size;
65mod repeat_style;
66mod self_position;
67mod shadow;
68mod single_animation_composition;
69mod single_animation_direction;
70mod single_animation_fill_mode;
71mod single_animation_iteration_count;
72mod single_animation_play_state;
73mod single_animation_timeline;
74mod single_animation_trigger;
75mod single_animation_trigger_behavior;
76mod single_animation_trigger_type;
77mod single_transition;
78mod single_transition_property;
79mod spacing_trim;
80mod spread_shadow;
81mod string_or_url;
82mod syntax;
83mod text_edge;
84mod timeline_range_name;
85mod track_size;
86mod transform_list;
87mod transition_behavior_value;
88mod try_size;
89mod visual_box;
90
91pub use absolute_size::*;
92pub use anchor_name::*;
93pub use animateable_feature::*;
94pub use animation_action::*;
95pub use attachment::*;
96pub use auto_line_color_list::*;
97pub use auto_line_style_list::*;
98pub use auto_line_width_list::*;
99pub use auto_or::*;
100pub use autonone_or::*;
101pub use autospace::*;
102pub use baseline_position::*;
103pub use basic_shape_rect::*;
104pub use bg_clip::*;
105pub use bg_size::*;
106pub use blend_mode::*;
107pub use border_radius::*;
108pub use color::*;
109pub use compat_auto::*;
110pub use compat_special::*;
111pub use content_distribution::*;
112pub use content_list::*;
113pub use content_position::*;
114pub use coord_box::*;
115pub use corner_shape_value::*;
116pub use counter_style::*;
117pub use cursor_image::*;
118pub use cursor_predefined::*;
119pub use custom_ident::*;
120pub use dashed_ident::*;
121pub use display_box::*;
122pub use display_inside::*;
123pub use display_internal::*;
124pub use display_legacy::*;
125pub use display_listitem::*;
126pub use display_outside::*;
127pub use event_trigger_event::*;
128pub use family_name::*;
129pub use font_weight_absolute::*;
130pub use gap_auto_rule_list::*;
131pub use gap_rule_list::*;
132pub use generic_family::*;
133pub use grid_line::*;
134pub use image::*;
135pub use image_1d::*;
136pub use isolation_mode::*;
137pub use layout_box::*;
138pub use line_color_list::*;
139pub use line_style::*;
140pub use line_style_list::*;
141pub use line_width_list::*;
142pub use line_width_or_repeat::*;
143pub use none_or::*;
144pub use opacity_value::*;
145pub use outline_style::*;
146pub use overflow_position::*;
147pub use paint_box::*;
148pub use palette_identifier::*;
149pub use position::*;
150pub use position_area::*;
151pub use positive_non_zero_int::*;
152pub use quote::*;
153pub use ratio::*;
154pub use relative_size::*;
155pub use repeat_style::*;
156pub use self_position::*;
157pub use shadow::*;
158pub use single_animation_composition::*;
159pub use single_animation_direction::*;
160pub use single_animation_fill_mode::*;
161pub use single_animation_iteration_count::*;
162pub use single_animation_play_state::*;
163pub use single_animation_timeline::*;
164pub use single_animation_trigger::*;
165pub use single_animation_trigger_behavior::*;
166pub use single_animation_trigger_type::*;
167pub use single_transition::*;
168pub use single_transition_property::*;
169pub use spacing_trim::*;
170pub use spread_shadow::*;
171pub use string_or_url::*;
172pub use syntax::*;
173pub use text_edge::*;
174pub use timeline_range_name::*;
175pub use track_size::*;
176pub use transform_list::*;
177pub use transition_behavior_value::*;
178pub use try_size::*;
179pub use visual_box::*;
180
181mod prelude {
182	pub(crate) use crate::CssAtomSet;
183	pub(crate) use bumpalo::collections::Vec;
184	pub(crate) use css_parse::{
185		Cursor, Diagnostic, Kind, Parse, Parser, Peek, Result as ParserResult, T, ToNumberValue,
186	};
187	pub(crate) use csskit_derives::{IntoCursor, Parse, Peek, SemanticEq, ToCursors, ToSpan};
188	pub(crate) use csskit_proc_macro::syntax;
189}
190
191// Type aliases for primitive CSS types referenced in syntax definitions
192pub type Integer = crate::CSSInt;
193pub type String = css_parse::T![String];
194pub type Number = css_parse::T![Number];
195pub type Uri = crate::Url;
196pub type BgImage<'a> = crate::NoneOr<crate::Image<'a>>;