|
@@ -1074,14 +1074,14 @@ selector: "isAssignable",
|
|
|
protocol: "testing",
|
|
|
|
|
|
args: [],
|
|
|
-source: "isAssignable\x0a\x09^ true",
|
|
|
+source: "isAssignable\x0a\x09^ false",
|
|
|
referencedClasses: [],
|
|
|
|
|
|
pragmas: [],
|
|
|
messageSends: []
|
|
|
}, function ($methodClass){ return function (){
|
|
|
var self=this,$self=this;
|
|
|
-return true;
|
|
|
+return false;
|
|
|
|
|
|
}; }),
|
|
|
$globals.ScopeVar);
|
|
@@ -1390,24 +1390,6 @@ $core.addClass("ArgVar", $globals.ScopeVar, [], "Compiler-Semantic");
|
|
|
|
|
|
$globals.ArgVar.comment="I am an argument of a method or block.";
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "isAssignable",
|
|
|
-protocol: "testing",
|
|
|
-
|
|
|
-args: [],
|
|
|
-source: "isAssignable\x0a\x09^ false",
|
|
|
-referencedClasses: [],
|
|
|
-
|
|
|
-pragmas: [],
|
|
|
-messageSends: []
|
|
|
-}, function ($methodClass){ return function (){
|
|
|
-var self=this,$self=this;
|
|
|
-return false;
|
|
|
-
|
|
|
-}; }),
|
|
|
-$globals.ArgVar);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "isIdempotent",
|
|
@@ -1455,24 +1437,6 @@ return "$globals.".__comma($self._name());
|
|
|
}; }),
|
|
|
$globals.ClassRefVar);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "isAssignable",
|
|
|
-protocol: "testing",
|
|
|
-
|
|
|
-args: [],
|
|
|
-source: "isAssignable\x0a\x09^ false",
|
|
|
-referencedClasses: [],
|
|
|
-
|
|
|
-pragmas: [],
|
|
|
-messageSends: []
|
|
|
-}, function ($methodClass){ return function (){
|
|
|
-var self=this,$self=this;
|
|
|
-return false;
|
|
|
-
|
|
|
-}; }),
|
|
|
-$globals.ClassRefVar);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "isClassRefVar",
|
|
@@ -1497,24 +1461,6 @@ $core.addClass("ExternallyKnownVar", $globals.ScopeVar, [], "Compiler-Semantic")
|
|
|
|
|
|
$globals.ExternallyKnownVar.comment="I am a variable known externally (not in method scope).";
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "isAssignable",
|
|
|
-protocol: "testing",
|
|
|
-
|
|
|
-args: [],
|
|
|
-source: "isAssignable\x0a\x09^ false",
|
|
|
-referencedClasses: [],
|
|
|
-
|
|
|
-pragmas: [],
|
|
|
-messageSends: []
|
|
|
-}, function ($methodClass){ return function (){
|
|
|
-var self=this,$self=this;
|
|
|
-return false;
|
|
|
-
|
|
|
-}; }),
|
|
|
-$globals.ExternallyKnownVar);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "isExternallyKnownVar",
|
|
@@ -1562,6 +1508,24 @@ return "$self.".__comma($self._name());
|
|
|
}; }),
|
|
|
$globals.InstanceVar);
|
|
|
|
|
|
+$core.addMethod(
|
|
|
+$core.method({
|
|
|
+selector: "isAssignable",
|
|
|
+protocol: "testing",
|
|
|
+
|
|
|
+args: [],
|
|
|
+source: "isAssignable\x0a\x09^ true",
|
|
|
+referencedClasses: [],
|
|
|
+
|
|
|
+pragmas: [],
|
|
|
+messageSends: []
|
|
|
+}, function ($methodClass){ return function (){
|
|
|
+var self=this,$self=this;
|
|
|
+return true;
|
|
|
+
|
|
|
+}; }),
|
|
|
+$globals.InstanceVar);
|
|
|
+
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "isInstanceVar",
|
|
@@ -1609,24 +1573,6 @@ return $self._name();
|
|
|
}; }),
|
|
|
$globals.PseudoVar);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "isAssignable",
|
|
|
-protocol: "testing",
|
|
|
-
|
|
|
-args: [],
|
|
|
-source: "isAssignable\x0a\x09^ false",
|
|
|
-referencedClasses: [],
|
|
|
-
|
|
|
-pragmas: [],
|
|
|
-messageSends: []
|
|
|
-}, function ($methodClass){ return function (){
|
|
|
-var self=this,$self=this;
|
|
|
-return false;
|
|
|
-
|
|
|
-}; }),
|
|
|
-$globals.PseudoVar);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "isIdempotent",
|
|
@@ -1835,6 +1781,24 @@ $core.addClass("TempVar", $globals.ScopeVar, [], "Compiler-Semantic");
|
|
|
|
|
|
$globals.TempVar.comment="I am an temporary variable of a method or block.";
|
|
|
|
|
|
+$core.addMethod(
|
|
|
+$core.method({
|
|
|
+selector: "isAssignable",
|
|
|
+protocol: "testing",
|
|
|
+
|
|
|
+args: [],
|
|
|
+source: "isAssignable\x0a\x09^ true",
|
|
|
+referencedClasses: [],
|
|
|
+
|
|
|
+pragmas: [],
|
|
|
+messageSends: []
|
|
|
+}, function ($methodClass){ return function (){
|
|
|
+var self=this,$self=this;
|
|
|
+return true;
|
|
|
+
|
|
|
+}; }),
|
|
|
+$globals.TempVar);
|
|
|
+
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "isTempVar",
|