in fluent/migrate/transforms.py [0:0]
def visit_Placeable(self, node):
# Ensure we have a Placeable with an expression still.
# Transforms could have replaced the expression with
# a Pattern or PatternElement, in which case we
# just pass that through.
# Patterns then get flattened by visit_Pattern.
node = self.generic_visit(node)
if isinstance(node.expression, (FTL.Pattern, FTL.PatternElement)):
return node.expression
return node