pub enum Rule {
Show 73 variants
EOI,
tla_definition,
module_declaration,
constant_declaration,
assume_declaration,
variable_declaration,
typeok_declaration,
init_constraint_expr,
init_constraint_declaration,
rule_identifier,
rule_body_expr,
rule_declaration,
next_declaration,
spec_declaration,
ltl_spec_declaration,
int_macro_declaration,
update_identifier,
unchanged_expr,
set_definition_identifier_list,
nat,
set,
set_boolean_expr,
string_identifier,
string_identifier_list,
map_definition,
map_redefinition,
map_entry,
map_boolean_expr,
map_update_expr,
eventually,
globally,
implication,
ltl_binary_op,
ltl_unary_op,
ltl_atom,
ltl_expr,
bool_true,
bool_false,
bool_const,
and,
or,
boolean_connective,
not,
boolean_unary_op,
int_bool_expr,
int_bool_atom,
equal,
not_equal,
less_eq,
less,
greater_eq,
greater,
comparison_op,
comparison_expr,
integer_const,
add,
sub,
mul,
div,
integer_binary_op,
negation,
integer_unary_op,
assignment_expr,
integer_update,
cardinality_expr,
integer_atom,
integer_expr,
assign,
op_in,
identifier,
identifier_list,
COMMENT,
WHITESPACE,
}Variants§
EOI
End-of-input
tla_definition
module_declaration
constant_declaration
assume_declaration
variable_declaration
typeok_declaration
init_constraint_expr
init_constraint_declaration
rule_identifier
rule_body_expr
rule_declaration
next_declaration
spec_declaration
ltl_spec_declaration
int_macro_declaration
update_identifier
unchanged_expr
set_definition_identifier_list
nat
set
set_boolean_expr
string_identifier
string_identifier_list
map_definition
map_redefinition
map_entry
map_boolean_expr
map_update_expr
eventually
globally
implication
ltl_binary_op
ltl_unary_op
ltl_atom
ltl_expr
bool_true
bool_false
bool_const
and
or
boolean_connective
not
boolean_unary_op
int_bool_expr
int_bool_atom
equal
not_equal
less_eq
less
greater_eq
greater
comparison_op
comparison_expr
integer_const
add
sub
mul
div
integer_binary_op
negation
integer_unary_op
assignment_expr
integer_update
cardinality_expr
integer_atom
integer_expr
assign
op_in
identifier
identifier_list
COMMENT
WHITESPACE
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for PestTLAParser
impl Parser<Rule> for PestTLAParser
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more