

def expand(self, generator, node, depth):
    current = node
    for t in self.placeholder:
        current = getattr(current, t)
    return self.expand_type(current, generator)

dataset/ETHPy150Open alehander42/pseudo/pseudo/code_generator_dsl.py PseudoType.expand/original