|
@@ -10,12 +10,12 @@ RTL$.extend(D, T);
|
|
var dp = null;
|
|
var dp = null;
|
|
T.prototype.p = function(){
|
|
T.prototype.p = function(){
|
|
this.i = 123;
|
|
this.i = 123;
|
|
-}
|
|
|
|
|
|
+};
|
|
T.prototype.p2 = function(i/*INTEGER*/){
|
|
T.prototype.p2 = function(i/*INTEGER*/){
|
|
return i;
|
|
return i;
|
|
-}
|
|
|
|
|
|
+};
|
|
T.prototype.methodDefinedWithoutEndingIdent = function(){
|
|
T.prototype.methodDefinedWithoutEndingIdent = function(){
|
|
-}
|
|
|
|
|
|
+};
|
|
|
|
|
|
function acceptPointer(p/*PT*/){
|
|
function acceptPointer(p/*PT*/){
|
|
}
|
|
}
|
|
@@ -28,20 +28,20 @@ function acceptConstReferenace(p/*T*/){
|
|
T.prototype.useSelfAsVar = function(){
|
|
T.prototype.useSelfAsVar = function(){
|
|
acceptReference(this);
|
|
acceptReference(this);
|
|
acceptConstReferenace(this);
|
|
acceptConstReferenace(this);
|
|
-}
|
|
|
|
|
|
+};
|
|
T.prototype.useSelfAsPointer = function(){
|
|
T.prototype.useSelfAsPointer = function(){
|
|
var pVar = null;
|
|
var pVar = null;
|
|
pVar = this;
|
|
pVar = this;
|
|
acceptPointer(this);
|
|
acceptPointer(this);
|
|
acceptReference(this);
|
|
acceptReference(this);
|
|
acceptConstReferenace(this);
|
|
acceptConstReferenace(this);
|
|
-}
|
|
|
|
|
|
+};
|
|
D.prototype.p = function(){
|
|
D.prototype.p = function(){
|
|
T.prototype.p.call(this);
|
|
T.prototype.p.call(this);
|
|
-}
|
|
|
|
|
|
+};
|
|
D.prototype.p2 = function(i/*INTEGER*/){
|
|
D.prototype.p2 = function(i/*INTEGER*/){
|
|
return T.prototype.p2.call(this, i);
|
|
return T.prototype.p2.call(this, i);
|
|
-}
|
|
|
|
|
|
+};
|
|
dp = new D();
|
|
dp = new D();
|
|
dp.p();
|
|
dp.p();
|
|
dp.p();
|
|
dp.p();
|