소스 검색

Move ivars from `obj["@x"]` to `obj.x`.

Step 2: Compiler compiles dot notation,
recompile and apply to code base.
Herby Vojčík 6 년 전
부모
커밋
e81a45aabb
2개의 변경된 파일144개의 추가작업 그리고 144개의 파일을 삭제
  1. 9 9
      src/Examples.js
  2. 135 135
      src/IDE.js

+ 9 - 9
src/Examples.js

@@ -17,12 +17,12 @@ var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
-$self["@count"]=$recv($self["@count"]).__minus((1));
-$recv($self["@header"])._contents_((function(html){
+$self.count=$recv($self.count).__minus((1));
+$recv($self.header)._contents_((function(html){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
-return $recv(html)._with_($recv($self["@count"])._asString());
+return $recv(html)._with_($recv($self.count)._asString());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({html:html},$ctx1,1)});
 //>>excludeEnd("ctx");
@@ -50,12 +50,12 @@ var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
-$self["@count"]=$recv($self["@count"]).__plus((1));
-$recv($self["@header"])._contents_((function(html){
+$self.count=$recv($self.count).__plus((1));
+$recv($self.header)._contents_((function(html){
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx2) {
 //>>excludeEnd("ctx");
-return $recv(html)._with_($recv($self["@count"])._asString());
+return $recv(html)._with_($recv($self.count)._asString());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx2) {$ctx2.fillBlock({html:html},$ctx1,1)});
 //>>excludeEnd("ctx");
@@ -91,7 +91,7 @@ $ctx1.supercall = true,
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx1.supercall = false;
 //>>excludeEnd("ctx");;
-$self["@count"]=(0);
+$self.count=(0);
 return self;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx1) {$ctx1.fill(self,"initialize",{},$globals.Counter)});
@@ -117,11 +117,11 @@ return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
 var $1,$2,$3,$4;
 $1=$recv(html)._h1();
-$recv($1)._with_($recv($self["@count"])._asString());
+$recv($1)._with_($recv($self.count)._asString());
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx1.sendIdx["with:"]=1;
 //>>excludeEnd("ctx");
-$self["@header"]=$recv($1)._yourself();
+$self.header=$recv($1)._yourself();
 $2=$recv(html)._button();
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 $ctx1.sendIdx["button"]=1;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 135 - 135
src/IDE.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.