pub fn fold(mut self, x: &str) -> Self {
        let index =
            crate::TRACABLE_STORAGE.with(|storage| storage.borrow_mut().get_parser_index(x));

        let val = 1u64 << index;
        let mask = !(1u64 << index);

        self.fold = (self.fold & mask) | val;
        self
    }
/// Set the name of folding parser.
Set the name of folding parser.
Set the name of folding parser .
pub fn fold(mut self, x: &str) -> Self {
        let index =
            crate::TRACABLE_STORAGE.with(|storage| storage.borrow_mut().get_parser_index(x));
        let val = 1u64 << index;
        let mask = !(1u64 << index);
        self.fold = (self.fold & mask) | val;
        self
    }
pub fn fold ( mut self , x : & str ) -> Self { let index = crate :: TRACABLE_STORAGE . with ( | storage | storage . borrow_mut ( ) . get_parser_index ( x ) ) ; let val = 1u64 << index ; let mask = ! ( 1u64 << index ) ; self . fold = ( self . fold & mask ) | val ; self }
Set the name of folding parser.
Set the name of folding parser .
mut self
x
&str
mut self
x
&str