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