pub trait ExprElement {
    type ResultExpr: ExprElement;
    type Token: ListingElement;

Show 42 methods fn is_negated(&self) -> bool; fn is_relative(&self) -> bool; fn relative_delta(&self) -> i8; fn is_value(&self) -> bool; fn value(&self) -> i32; fn is_char(&self) -> bool; fn char(&self) -> char; fn is_bool(&self) -> bool; fn bool(&self) -> bool; fn is_string(&self) -> bool; fn string(&self) -> &str; fn is_float(&self) -> bool; fn float(&self) -> OrderedFloat<f64>; fn is_list(&self) -> bool; fn list(&self) -> &[Self]Notable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]; fn is_label(&self) -> bool; fn label(&self) -> &str; fn is_token_operation(&self) -> bool; fn token_operation(&self) -> &UnaryTokenOperation; fn token(&self) -> &Self::Token; fn is_prefix_label(&self) -> bool; fn prefix(&self) -> &LabelPrefix; fn is_binary_operation(&self) -> bool; fn binary_operation(&self) -> BinaryOperation; fn is_unary_operation(&self) -> bool; fn unary_operation(&self) -> UnaryOperation; fn is_unary_function(&self) -> bool; fn unary_function(&self) -> UnaryFunction; fn is_binary_function(&self) -> bool; fn binary_function(&self) -> BinaryFunction; fn is_paren(&self) -> bool; fn is_rnd(&self) -> bool; fn is_any_function(&self) -> bool; fn function_name(&self) -> &str; fn function_args(&self) -> &[Self]Notable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]; fn arg1(&self) -> &Self; fn arg2(&self) -> &Self; fn neg(&self) -> Self::ResultExpr; fn not(&self) -> Self::ResultExpr; fn add<E>(&self, v: E) -> Self::ResultExpr
    where
        E: Into<Self::ResultExpr>
; fn is_context_independant(&self) -> bool; fn fix_relative_value(&mut self);
}
Expand description

All methods are unchecked

Required Associated Types

Required Methods

Implementors