TypeScript/tests/baselines/reference/convertKeywordsYes.js

575 lines
11 KiB
JavaScript

//// [convertKeywordsYes.ts]
// reserved ES5 future in strict mode
var constructor = 0;
var any = 0;
var boolean = 0;
var implements = 0;
var interface = 0;
var let = 0;
var module = 0;
var number = 0;
var package = 0;
var private = 0;
var protected = 0;
var public = 0;
var set = 0;
var static = 0;
var string = 0;
var get = 0;
var yield = 0;
var declare = 0;
function bigGeneric<
constructor,
implements ,
interface ,
let,
module ,
package,
private ,
protected,
public ,
set ,
static ,
get ,
yield,
declare
>(c: constructor,
a: any,
b2: boolean,
i: implements ,
i2: interface ,
l: let,
m: module ,
n: number,
p: package,
p2: private ,
p3: protected,
p4: public ,
s: set ,
s2: static ,
s3: string,
g: get ,
y: yield,
d: declare ) { }
var bigObject = {
constructor: 0,
any: 0,
boolean: 0,
implements: 0,
interface: 0,
let: 0,
module: 0,
number: 0,
package: 0,
private: 0,
protected: 0,
public: 0,
set: 0,
static: 0,
string: 0,
get: 0,
yield: 0,
break: 0,
case: 0,
catch: 0,
class: 0,
continue: 0,
const: 0,
debugger: 0,
declare: 0,
default: 0,
delete: 0,
do: 0,
else: 0,
enum: 0,
export: 0,
extends: 0,
false: 0,
finally: 0,
for: 0,
function: 0,
if: 0,
import: 0,
in: 0,
instanceof: 0,
new: 0,
null: 0,
return: 0,
super: 0,
switch: 0,
this: 0,
throw: 0,
true: 0,
try: 0,
typeof: 0,
var: 0,
void: 0,
while: 0,
with: 0,
};
interface bigInterface {
constructor;
any;
boolean;
implements;
interface;
let;
module;
number;
package;
private;
protected;
public;
set;
static;
string;
get;
yield;
break;
case;
catch;
class;
continue;
const;
debugger;
declare;
default;
delete;
do;
else;
enum;
export;
extends;
false;
finally;
for;
function;
if;
import;
in;
instanceof;
new;
null;
return;
super;
switch;
this;
throw;
true;
try;
typeof;
var;
void;
while;
with;
}
class bigClass {
public "constructor" = 0;
public any = 0;
public boolean = 0;
public implements = 0;
public interface = 0;
public let = 0;
public module = 0;
public number = 0;
public package = 0;
public private = 0;
public protected = 0;
public public = 0;
public set = 0;
public static = 0;
public string = 0;
public get = 0;
public yield = 0;
public break = 0;
public case = 0;
public catch = 0;
public class = 0;
public continue = 0;
public const = 0;
public debugger = 0;
public declare = 0;
public default = 0;
public delete = 0;
public do = 0;
public else = 0;
public enum = 0;
public export = 0;
public extends = 0;
public false = 0;
public finally = 0;
public for = 0;
public function = 0;
public if = 0;
public import = 0;
public in = 0;
public instanceof = 0;
public new = 0;
public null = 0;
public return = 0;
public super = 0;
public switch = 0;
public this = 0;
public throw = 0;
public true = 0;
public try = 0;
public typeof = 0;
public var = 0;
public void = 0;
public while = 0;
public with = 0;
}
enum bigEnum {
constructor,
any,
boolean,
implements,
interface,
let,
module,
number,
package,
private,
protected,
public,
set,
static,
string,
get,
yield,
break,
case,
catch,
class,
continue,
const,
debugger,
declare,
default,
delete,
do,
else,
enum,
export,
extends,
false,
finally,
for,
function,
if,
import,
in,
instanceof,
new,
null,
return,
super,
switch,
this,
throw,
true,
try,
typeof,
var,
void,
while,
with,
}
module bigModule {
class constructor { }
class implements { }
class interface { }
class let { }
class module { }
class package { }
class private { }
class protected { }
class public { }
class set { }
class static { }
class get { }
class yield { }
class declare { }
}
//// [convertKeywordsYes.js]
// reserved ES5 future in strict mode
var constructor = 0;
var any = 0;
var boolean = 0;
var implements = 0;
var interface = 0;
var let = 0;
var module = 0;
var number = 0;
var package = 0;
var private = 0;
var protected = 0;
var public = 0;
var set = 0;
var static = 0;
var string = 0;
var get = 0;
var yield = 0;
var declare = 0;
function bigGeneric(c, a, b2, i, i2, l, m, n, p, p2, p3, p4, s, s2, s3, g, y, d) {
}
var bigObject = {
constructor: 0,
any: 0,
boolean: 0,
implements: 0,
interface: 0,
let: 0,
module: 0,
number: 0,
package: 0,
private: 0,
protected: 0,
public: 0,
set: 0,
static: 0,
string: 0,
get: 0,
yield: 0,
break: 0,
case: 0,
catch: 0,
class: 0,
continue: 0,
const: 0,
debugger: 0,
declare: 0,
default: 0,
delete: 0,
do: 0,
else: 0,
enum: 0,
export: 0,
extends: 0,
false: 0,
finally: 0,
for: 0,
function: 0,
if: 0,
import: 0,
in: 0,
instanceof: 0,
new: 0,
null: 0,
return: 0,
super: 0,
switch: 0,
this: 0,
throw: 0,
true: 0,
try: 0,
typeof: 0,
var: 0,
void: 0,
while: 0,
with: 0
};
var bigClass = (function () {
function bigClass() {
this["constructor"] = 0;
this.any = 0;
this.boolean = 0;
this.implements = 0;
this.interface = 0;
this.let = 0;
this.module = 0;
this.number = 0;
this.package = 0;
this.private = 0;
this.protected = 0;
this.public = 0;
this.set = 0;
this.static = 0;
this.string = 0;
this.get = 0;
this.yield = 0;
this.break = 0;
this.case = 0;
this.catch = 0;
this.class = 0;
this.continue = 0;
this.const = 0;
this.debugger = 0;
this.declare = 0;
this.default = 0;
this.delete = 0;
this.do = 0;
this.else = 0;
this.enum = 0;
this.export = 0;
this.extends = 0;
this.false = 0;
this.finally = 0;
this.for = 0;
this.function = 0;
this.if = 0;
this.import = 0;
this.in = 0;
this.instanceof = 0;
this.new = 0;
this.null = 0;
this.return = 0;
this.super = 0;
this.switch = 0;
this.this = 0;
this.throw = 0;
this.true = 0;
this.try = 0;
this.typeof = 0;
this.var = 0;
this.void = 0;
this.while = 0;
this.with = 0;
}
return bigClass;
})();
var bigEnum;
(function (bigEnum) {
bigEnum[bigEnum["constructor"] = 0] = "constructor";
bigEnum[bigEnum["any"] = 1] = "any";
bigEnum[bigEnum["boolean"] = 2] = "boolean";
bigEnum[bigEnum["implements"] = 3] = "implements";
bigEnum[bigEnum["interface"] = 4] = "interface";
bigEnum[bigEnum["let"] = 5] = "let";
bigEnum[bigEnum["module"] = 6] = "module";
bigEnum[bigEnum["number"] = 7] = "number";
bigEnum[bigEnum["package"] = 8] = "package";
bigEnum[bigEnum["private"] = 9] = "private";
bigEnum[bigEnum["protected"] = 10] = "protected";
bigEnum[bigEnum["public"] = 11] = "public";
bigEnum[bigEnum["set"] = 12] = "set";
bigEnum[bigEnum["static"] = 13] = "static";
bigEnum[bigEnum["string"] = 14] = "string";
bigEnum[bigEnum["get"] = 15] = "get";
bigEnum[bigEnum["yield"] = 16] = "yield";
bigEnum[bigEnum["break"] = 17] = "break";
bigEnum[bigEnum["case"] = 18] = "case";
bigEnum[bigEnum["catch"] = 19] = "catch";
bigEnum[bigEnum["class"] = 20] = "class";
bigEnum[bigEnum["continue"] = 21] = "continue";
bigEnum[bigEnum["const"] = 22] = "const";
bigEnum[bigEnum["debugger"] = 23] = "debugger";
bigEnum[bigEnum["declare"] = 24] = "declare";
bigEnum[bigEnum["default"] = 25] = "default";
bigEnum[bigEnum["delete"] = 26] = "delete";
bigEnum[bigEnum["do"] = 27] = "do";
bigEnum[bigEnum["else"] = 28] = "else";
bigEnum[bigEnum["enum"] = 29] = "enum";
bigEnum[bigEnum["export"] = 30] = "export";
bigEnum[bigEnum["extends"] = 31] = "extends";
bigEnum[bigEnum["false"] = 32] = "false";
bigEnum[bigEnum["finally"] = 33] = "finally";
bigEnum[bigEnum["for"] = 34] = "for";
bigEnum[bigEnum["function"] = 35] = "function";
bigEnum[bigEnum["if"] = 36] = "if";
bigEnum[bigEnum["import"] = 37] = "import";
bigEnum[bigEnum["in"] = 38] = "in";
bigEnum[bigEnum["instanceof"] = 39] = "instanceof";
bigEnum[bigEnum["new"] = 40] = "new";
bigEnum[bigEnum["null"] = 41] = "null";
bigEnum[bigEnum["return"] = 42] = "return";
bigEnum[bigEnum["super"] = 43] = "super";
bigEnum[bigEnum["switch"] = 44] = "switch";
bigEnum[bigEnum["this"] = 45] = "this";
bigEnum[bigEnum["throw"] = 46] = "throw";
bigEnum[bigEnum["true"] = 47] = "true";
bigEnum[bigEnum["try"] = 48] = "try";
bigEnum[bigEnum["typeof"] = 49] = "typeof";
bigEnum[bigEnum["var"] = 50] = "var";
bigEnum[bigEnum["void"] = 51] = "void";
bigEnum[bigEnum["while"] = 52] = "while";
bigEnum[bigEnum["with"] = 53] = "with";
})(bigEnum || (bigEnum = {}));
var bigModule;
(function (bigModule) {
var constructor = (function () {
function constructor() {
}
return constructor;
})();
var implements = (function () {
function implements() {
}
return implements;
})();
var interface = (function () {
function interface() {
}
return interface;
})();
var let = (function () {
function let() {
}
return let;
})();
var module = (function () {
function module() {
}
return module;
})();
var package = (function () {
function package() {
}
return package;
})();
var private = (function () {
function private() {
}
return private;
})();
var protected = (function () {
function protected() {
}
return protected;
})();
var public = (function () {
function public() {
}
return public;
})();
var set = (function () {
function set() {
}
return set;
})();
var static = (function () {
function static() {
}
return static;
})();
var get = (function () {
function get() {
}
return get;
})();
var yield = (function () {
function yield() {
}
return yield;
})();
var declare = (function () {
function declare() {
}
return declare;
})();
})(bigModule || (bigModule = {}));