pub enum Rule {
Show 73 variants
EOI,
problem,
objective,
solve,
constraint_list,
constraint,
constraint_name,
consts_declaration,
const_declaration,
domains_declaration,
domain_declaration,
domain_variables,
as_assertion,
as_value,
as_type,
for_iteration,
iteration_declaration_list,
iteration_declaration,
tuple,
iterator,
range_iterator,
tagged_exp,
exp,
exp_leaf,
implicit_mul,
modulo,
parenthesis,
function,
function_pars,
block_function,
block_scoped_function,
array_access,
pointer_access_list,
pointer_access,
primitive,
_primitive,
graph,
graph_node_list,
graph_node,
edges_list,
edge,
array,
comma_separated_exp,
comma,
nl,
variable,
objective_type,
comparison,
simple_variable,
escaped_compound_variable,
compound_variable,
compound_variable_body,
number,
integer,
float,
signed_number,
keyword,
binary_op,
mul,
add,
sub,
div,
unary_op,
neg,
string,
inner_string,
char,
boolean,
function_name,
WHITESPACE,
COMMENT,
range_type,
no_par,
}Variants§
EOI
End-of-input
problem
objective
solve
constraint_list
constraint
constraint_name
consts_declaration
const_declaration
domains_declaration
domain_declaration
domain_variables
as_assertion
as_value
as_type
for_iteration
iteration_declaration_list
iteration_declaration
tuple
iterator
range_iterator
tagged_exp
exp
exp_leaf
implicit_mul
modulo
parenthesis
function
function_pars
block_function
block_scoped_function
array_access
pointer_access_list
pointer_access
primitive
_primitive
graph
graph_node_list
graph_node
edges_list
edge
array
comma_separated_exp
comma
nl
variable
objective_type
comparison
simple_variable
escaped_compound_variable
compound_variable
compound_variable_body
number
integer
float
signed_number
keyword
binary_op
mul
add
sub
div
unary_op
neg
string
inner_string
char
boolean
function_name
WHITESPACE
COMMENT
range_type
no_par
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 UnsafeUnpin 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.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