Exemplo n.º 1
0
def populate_op(program, populate_function):
    replacer = OpPopulator(populate_function)
    return replace(program, replacer)
Exemplo n.º 2
0
def populate_stmt(program, populate_function):
    replacer = StatementPopulator(populate_function)
    return replace(program, replacer)
Exemplo n.º 3
0
def populate_expr(program, populate_function):
    replacer = ExpressionPopulator(populate_function)
    return replace(program, replacer)
Exemplo n.º 4
0
def populate_name(program, populate_function):
    replacer = NamePopulator(populate_function)
    return replace(program, replacer)