temp : (x=a)+ //i want to create a list of integers here // what should i do as statements here will be // executed only when the entire rule is matched a returns [int z]: //some rules here