fn create_and_condition(acond: AndCondition) -> TokenStream {
    let mut andcondvec = Vec::<TokenStream>::new();

    // unpack the AndCondition and get all relations from within it
    for a in acond.0 {
        andcondvec.push(create_relation(a));
    }

    // Unfold AndConditions and tokenize together with &&
    quote! { ( #(#andcondvec)&&* ) }
}
// Unfold AndConditions and tokenize together with &&
Unfold AndConditions and tokenize together with &&
Unfold AndConditions and tokenize together with &&
fn create_and_condition(acond: AndCondition) -> TokenStream {
    let mut andcondvec = Vec::<TokenStream>::new();
    // unpack the AndCondition and get all relations from within it
    for a in acond.0 {
        andcondvec.push(create_relation(a));
    }
    // Unfold AndConditions and tokenize together with &&
    quote! { ( #(#andcondvec)&&* ) }
}
fn create_and_condition ( acond : AndCondition ) -> TokenStream { let mut andcondvec = Vec :: < TokenStream > :: new ( ) ; // unpack the AndCondition and get all relations from within it for a in acond . 0 { andcondvec . push ( create_relation ( a ) ) ; } // Unfold AndConditions and tokenize together with && quote ! { ( ( andcondvec ) ) } }
Unfold AndConditions and tokenize together with &&
Unfold AndConditions and tokenize together with &&
acond
AndCondition
acond
AndCondition