浏览代码

removing incompilable remnant methods

Herbert Vojčík 10 年之前
父节点
当前提交
8589a225f4
共有 3 个文件被更改,包括 0 次插入68 次删除
  1. 0 24
      js/Importer-Exporter.deploy.js
  2. 0 34
      js/Importer-Exporter.js
  3. 0 10
      st/Importer-Exporter.st

+ 0 - 24
js/Importer-Exporter.deploy.js

@@ -1322,30 +1322,6 @@ return self}, function($ctx1) {$ctx1.fill(self,"interpretSubRecipe:for:on:",{aRe
 messageSends: ["perform:withArguments:", "value", "first", "key", "do:", "interpret:for:on:", "allButFirst"]}),
 smalltalk.RecipeInterpreter);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "recipe",
-fn: function (){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=self["@recipe"];
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"recipe",{},smalltalk.RecipeInterpreter)})},
-messageSends: []}),
-smalltalk.RecipeInterpreter);
-
-smalltalk.addMethod(
-smalltalk.method({
-selector: "recipe:",
-fn: function (anArray){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-self["@recipe"]=anArray;
-return self}, function($ctx1) {$ctx1.fill(self,"recipe:",{anArray:anArray},smalltalk.RecipeInterpreter)})},
-messageSends: []}),
-smalltalk.RecipeInterpreter);
-
 
 smalltalk.addMethod(
 smalltalk.method({

+ 0 - 34
js/Importer-Exporter.js

@@ -1688,40 +1688,6 @@ referencedClasses: []
 }),
 smalltalk.RecipeInterpreter);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "recipe",
-category: 'accessing',
-fn: function (){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-var $1;
-$1=self["@recipe"];
-return $1;
-}, function($ctx1) {$ctx1.fill(self,"recipe",{},smalltalk.RecipeInterpreter)})},
-args: [],
-source: "recipe\x0a\x09^recipe",
-messageSends: [],
-referencedClasses: []
-}),
-smalltalk.RecipeInterpreter);
-
-smalltalk.addMethod(
-smalltalk.method({
-selector: "recipe:",
-category: 'accessing',
-fn: function (anArray){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-self["@recipe"]=anArray;
-return self}, function($ctx1) {$ctx1.fill(self,"recipe:",{anArray:anArray},smalltalk.RecipeInterpreter)})},
-args: ["anArray"],
-source: "recipe: anArray\x0a\x09recipe := anArray",
-messageSends: [],
-referencedClasses: []
-}),
-smalltalk.RecipeInterpreter);
-
 
 smalltalk.addMethod(
 smalltalk.method({

+ 0 - 10
st/Importer-Exporter.st

@@ -747,16 +747,6 @@ Recipe is an array, which can contain two kinds of elements:
 	Then, the sub-recipe (`subarray allButFirst`) is applied to every element of a collection, eg.
 	  collection do: [ :each | self export: each using: sa allButFirst on: stream ]!
 
-!RecipeInterpreter methodsFor: 'accessing'!
-
-recipe
-	^recipe
-!
-
-recipe: anArray
-	recipe := anArray
-! !
-
 !RecipeInterpreter methodsFor: 'interpreting'!
 
 interpret: aRecipe for: anObject on: aStream