38 lines
712 B
TypeScript
38 lines
712 B
TypeScript
//// [parserSuperExpression1.ts]
|
|
class C {
|
|
private foo() {
|
|
super.foo();
|
|
}
|
|
}
|
|
|
|
module M1.M2 {
|
|
class C {
|
|
private foo() {
|
|
super.foo();
|
|
}
|
|
}
|
|
}
|
|
|
|
//// [parserSuperExpression1.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype.foo = function () {
|
|
_super.foo.call(this);
|
|
};
|
|
return C;
|
|
})();
|
|
var M1;
|
|
(function (M1) {
|
|
var M2;
|
|
(function (M2) {
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype.foo = function () {
|
|
_super.foo.call(this);
|
|
};
|
|
return C;
|
|
})();
|
|
})(M2 = M1.M2 || (M1.M2 = {}));
|
|
})(M1 || (M1 = {}));
|