Browse Source

Remove message never sent.

Herby Vojčík 4 years ago
parent
commit
54d03fd37c
2 changed files with 0 additions and 35 deletions
  1. 0 31
      lang/src/Compiler-AST.js
  2. 0 4
      lang/src/Compiler-AST.st

+ 0 - 31
lang/src/Compiler-AST.js

@@ -175,37 +175,6 @@ return self;
 }; }),
 $globals.ASTNode);
 
-$core.addMethod(
-$core.method({
-selector: "method",
-protocol: "accessing",
-//>>excludeStart("ide", pragmas.excludeIdeData);
-args: [],
-source: "method\x0a\x09^ self parent ifNotNil: [ :node | node method ]",
-referencedClasses: [],
-//>>excludeEnd("ide");
-pragmas: [],
-messageSends: ["ifNotNil:", "parent", "method"]
-}, function ($methodClass){ return function (){
-var self=this,$self=this;
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-return $core.withContext(function($ctx1) {
-//>>excludeEnd("ctx");
-var $1,$receiver;
-$1=$self._parent();
-if(($receiver = $1) == null || $receiver.a$nil){
-return $1;
-} else {
-var node;
-node=$receiver;
-return $recv(node)._method();
-}
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
-}, function($ctx1) {$ctx1.fill(self,"method",{})});
-//>>excludeEnd("ctx");
-}; }),
-$globals.ASTNode);
-
 $core.addMethod(
 $core.method({
 selector: "navigationNodeAt:ifAbsent:",

+ 0 - 4
lang/src/Compiler-AST.st

@@ -15,10 +15,6 @@ location: aLocation
 	self position: aLocation start line @ aLocation start column
 !
 
-method
-	^ self parent ifNotNil: [ :node | node method ]
-!
-
 navigationNodeAt: aPoint ifAbsent: aBlock
 	"Answer the navigation node in the receiver's tree at aPoint 
 	or nil if no navigation node was found.