Enum pax_compiler_api::Rule
source · [−]pub enum Rule {
Show 84 variants
EOI,
WHITESPACE,
COMMENT,
pax_component_definition,
root_tag_pair,
inner_nodes,
open_tag,
closing_tag,
attribute_key_value_pair,
attribute_event_id,
attribute_event_binding,
any_template_value,
any_tag_pair,
matched_tag,
node_inner_content,
self_closing_tag,
string,
inner,
char,
inner_templated,
inner_templated_dynamic,
identifier,
pascal_identifier,
settings_block_declaration,
selector_block,
literal_object,
selector,
settings_key_value_pair,
settings_key,
settings_value,
literal_value,
literal_number_with_unit,
literal_number,
literal_number_integer,
literal_number_float,
literal_number_unit,
literal_tuple,
literal_enum_value,
literal_enum_args_list,
expression,
expression_symbolic_binding,
expression_body,
expression_operand,
expression_grouped,
xo_infix_binary,
xo_prefix_unary,
xo_literal,
xo_literal_object,
xo_literal_object_settings_key_value_pair,
xo_symbol,
xo_tuple,
xo_group_open,
xo_group_close,
xo_obj_open,
xo_obj_close,
xo_obj_separator,
xo_bool_or,
xo_bool_and,
xo_add,
xo_sub,
xo_mul,
xo_div,
xo_mod,
xo_exp,
xo_bool_not,
xo_tern_then,
xo_tern_else,
xo_rel_lt,
xo_rel_gt,
xo_rel_lte,
xo_rel_gte,
xo_rel_eq,
xo_rel_neq,
xo_range,
xo_range_exclusive,
xo_range_inclusive,
xo_function_call,
xo_function_args_list,
statement_control_flow,
statement_if,
statement_for,
statement_slot,
statement_for_predicate_declaration,
statement_for_predicate_source,
}
Variants
EOI
WHITESPACE
COMMENT
pax_component_definition
root_tag_pair
inner_nodes
open_tag
closing_tag
attribute_key_value_pair
attribute_event_id
attribute_event_binding
any_template_value
any_tag_pair
matched_tag
node_inner_content
self_closing_tag
string
inner
char
inner_templated
inner_templated_dynamic
identifier
pascal_identifier
settings_block_declaration
selector_block
literal_object
selector
settings_key_value_pair
settings_key
settings_value
literal_value
literal_number_with_unit
literal_number
literal_number_integer
literal_number_float
literal_number_unit
literal_tuple
literal_enum_value
literal_enum_args_list
expression
expression_symbolic_binding
expression_body
expression_operand
expression_grouped
xo_infix_binary
xo_prefix_unary
xo_literal
xo_literal_object
xo_literal_object_settings_key_value_pair
xo_symbol
xo_tuple
xo_group_open
xo_group_close
xo_obj_open
xo_obj_close
xo_obj_separator
xo_bool_or
xo_bool_and
xo_add
xo_sub
xo_mul
xo_div
xo_mod
xo_exp
xo_bool_not
xo_tern_then
xo_tern_else
xo_rel_lt
xo_rel_gt
xo_rel_lte
xo_rel_gte
xo_rel_eq
xo_rel_neq
xo_range
xo_range_exclusive
xo_range_inclusive
xo_function_call
xo_function_args_list
statement_control_flow
statement_if
statement_for
statement_slot
statement_for_predicate_declaration
statement_for_predicate_source
Trait Implementations
sourceimpl Ord for Rule
impl Ord for Rule
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<Rule> for Rule
impl PartialEq<Rule> for Rule
sourceimpl PartialOrd<Rule> for Rule
impl PartialOrd<Rule> for Rule
sourcefn partial_cmp(&self, other: &Rule) -> Option<Ordering>
fn partial_cmp(&self, other: &Rule) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Rule
impl Eq for Rule
impl StructuralEq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more