User:PanSola/WikiFormAter.js/abstractions

/*

WikiFormAterRecipe
*/

WikiFormAterRecipe_cons(recipeName, recipeLabel, formCooker, formEater, formRegurgitater){ return new Array (recipeName, recipeLabel, formCooker, formEater, formRegurgitateer, -1); }

WikiFormAterRecipe_getName(recipe){ return recipe[0]; }

WikiFormAterRecipe_getLabel(recipe){ return recipe[1]; }

WikiFormAterRecipe_getCooker(recipe){ return recipe[2]; }

WikiFormAterRecipe_getEater(recipe){ return recipe[3]; }

WikiFormAterRecipe_getRegurgitater(recipe){ return recipe[4]; }

WikiFormAterRecipe_setIndex(idx){ recipe[5] = idx; return idx; }

WikiFormAterRecipe_getIndex{ return idx; }

/*