semantic: Generate struct literal for attribute variable.