Exemple #1
0
def rem_insert_end():
    return literal('<#<')
Exemple #2
0
def until_block_maybe():
    return __(r'.*?(?=>)'), And(literal('>'))
Exemple #3
0
def ref_insert_end():
    return literal('<')
Exemple #4
0
def rem_insert_start():
    return literal('>#>')
Exemple #5
0
def ref_insert_start():
    return literal('>'), And([literal('['), literal('{')])
Exemple #6
0
def ref_insert_middle():
    return [(literal('['), identifier, literal(']')),
            (literal('{'), identifier, literal('}'))], And(literal('<'))
Exemple #7
0
def block_freeform_end():
    return literal('}'), anyws, block_end
Exemple #8
0
def block_freeform():
    return literal('{'), ZeroOrMore((ws, literal('<-{'))),
Exemple #9
0
def block_end():
    return literal('<<<')
Exemple #10
0
def block_tabular():
    return literal('<'), ws
def block_start():
    return literal('>->'), identifier, literal('<'), [
        literal('+'), literal('-')
    ]