test/souffle/convert.py
def convert_conjunction(conj):
    """Convert a conjunction of expressions into a string"""
    expr = getOptField(conj, "Expression")
    if expr != None:
        return convert_expression(expr)
    children = getArray(conj, "ConjunctionsOrDisjunctions")
    operator = getOptField(conj, "OR")
    assert operator == None
    rec = map(convert_conjunction, children)
    return ", ".join(rec)
Convert a conjunction of expressions into a string
Convert a conjunction of expressions into a string
Convert a conjunction of expressions into a string
def convert_conjunction(conj):
    expr = getOptField(conj, "Expression")
    if expr != None:
        return convert_expression(expr)
    children = getArray(conj, "ConjunctionsOrDisjunctions")
    operator = getOptField(conj, "OR")
    assert operator == None
    rec = map(convert_conjunction, children)
    return ", ".join(rec)
def convert_conjunction ( conj ) : expr = getOptField ( conj , "Expression" ) if expr != None : return convert_expression ( expr ) children = getArray ( conj , "ConjunctionsOrDisjunctions" ) operator = getOptField ( conj , "OR" ) assert operator == None rec = map ( convert_conjunction , children ) return ", " . join ( rec )
Convert a conjunction of expressions into a string
Convert a conjunction of expressions into a string
"""Convert a conjunction of expressions into a string"""
conj