prestatements = []
- list_expression = NormalVariableExpression(variable=list_variable)
-
for item_expression in expression.item_expression_list:
counter, item_expression_prestatements, normalized = normalize_expression(
counter,
)
)
- prestatements.append(NormalVariableInitializationStatement(
- variable=list_variable,
- expression=NormalListConstructExpression(allocate=len(expression.item_expression_list)),
- ))
-
return (
counter,
tuple(prestatements),
- list_expression,
+ NormalListConstructExpression(allocate=len(expression.item_expression_list)),
)
def normalize_string_literal_expression(counter, expression):