pub enum Rule {
Show 102 variants
EOI,
WHITESPACE,
COMMENT,
in_keyword,
program,
file_header,
import_decl,
import_specifier,
import_named,
import_item,
import_wildcard,
export_decl,
annotation,
annotation_name,
declaration,
declaration_inner,
entity_decl,
entity_annotation,
ea_replaces,
ea_changes,
resource_decl,
resource_annotation,
declaration_keyword,
flow_decl,
flow_annotation,
pattern_decl,
role_decl,
relation_decl,
concept_change_decl,
concept_change_annotation,
cc_from_version,
cc_to_version,
cc_migration_policy,
cc_breaking_change,
instance_decl,
instance_body,
instance_field,
dimension_decl,
unit_decl,
policy_decl,
policy_kind,
policy_modality,
policy_annotation,
policy_annotation_name,
string_array,
annotation_value,
version,
expression,
or_expr,
and_expr,
not_expr,
comparison_expr,
comparison_op,
additive_expr,
add_op,
multiplicative_expr,
mul_op,
unary_expr,
cast_expr,
primary_expr,
group_by_expr,
aggregation_expr,
aggregation_comprehension,
window_clause,
aggregation_simple,
aggregate_fn,
quantified_expr,
quantifier,
collection,
member_access,
literal,
time_literal,
interval_literal,
quantity_literal,
name,
multiline_string,
string_literal,
string_content,
escape_sequence,
number,
boolean,
instance_reference,
identifier,
metric_decl,
metric_annotation,
ma_refresh_interval,
ma_unit,
ma_threshold,
ma_severity,
ma_target,
ma_window,
mapping_decl,
target_format,
mapping_rule,
primitive_type,
target_structure,
mapping_field,
object_literal,
projection_decl,
projection_rule,
projection_field,
property_mapping,
}Variants§
EOI
End-of-input
WHITESPACE
COMMENT
in_keyword
program
file_header
import_decl
import_specifier
import_named
import_item
import_wildcard
export_decl
annotation
annotation_name
declaration
declaration_inner
entity_decl
entity_annotation
ea_replaces
ea_changes
resource_decl
resource_annotation
declaration_keyword
flow_decl
flow_annotation
pattern_decl
role_decl
relation_decl
concept_change_decl
concept_change_annotation
cc_from_version
cc_to_version
cc_migration_policy
cc_breaking_change
instance_decl
instance_body
instance_field
dimension_decl
unit_decl
policy_decl
policy_kind
policy_modality
policy_annotation
policy_annotation_name
string_array
annotation_value
version
expression
or_expr
and_expr
not_expr
comparison_expr
comparison_op
additive_expr
add_op
multiplicative_expr
mul_op
unary_expr
cast_expr
primary_expr
group_by_expr
aggregation_expr
aggregation_comprehension
window_clause
aggregation_simple
aggregate_fn
quantified_expr
quantifier
collection
member_access
literal
time_literal
interval_literal
quantity_literal
name
multiline_string
string_literal
string_content
escape_sequence
number
boolean
instance_reference
identifier
metric_decl
metric_annotation
ma_refresh_interval
ma_unit
ma_threshold
ma_severity
ma_target
ma_window
mapping_decl
target_format
mapping_rule
primitive_type
target_structure
mapping_field
object_literal
projection_decl
projection_rule
projection_field
property_mapping
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.