I don't know Python super well but I know it well enough that I'm trying to translate some Python code to Lua. But I can't figure out what this code is supposed to do.
var_declarations = [
VarDecl(var_node, type_node)
for var_node in var_nodes
]
VarDecl is a class, and var_nodes is a list. Full code is here.