TypeScript/tests/cases/compiler/giant.ts
2014-07-12 17:30:19 -07:00

683 lines
16 KiB
TypeScript

//@module: amd
// @declaration: true
/*
Prefixes
p -> public
r -> private
i -> import
e -> export
a -> ambient
t -> static
s -> set
g -> get
MAX DEPTH 3 LEVELS
*/
var V;
function F() { };
class C {
constructor () { }
public pV;
private rV;
public pF() { }
private rF() { }
public pgF() { }
public get pgF()
public psF(param:any) { }
public set psF(param:any)
private rgF() { }
private get rgF()
private rsF(param:any) { }
private set rsF(param:any)
static tV;
static tF() { }
static tsF(param:any) { }
static set tsF(param:any)
static tgF() { }
static get tgF()
}
interface I {
//Call Signature
();
(): number;
(p);
(p1: string);
(p2?: string);
(...p3: any[]);
(p4: string, p5?: string);
(p6: string, ...p7: any[]);
//(p8?: string, ...p9: any[]);
//(p10:string, p8?: string, ...p9: any[]);
//Construct Signature
new ();
new (): number;
new (p: string);
new (p2?: string);
new (...p3: any[]);
new (p4: string, p5?: string);
new (p6: string, ...p7: any[]);
//Index Signature
[p];
[p1: string];
[p2: string, p3: number];
//Property Signature
p;
p1?;
p2?: string;
//Function Signature
p3();
p4? ();
p5? (): void;
p6(pa1): void;
p7(pa1, pa2): void;
p7? (pa1, pa2): void;
}
module M {
var V;
function F() { };
class C {
constructor () { }
public pV;
private rV;
public pF() { }
private rF() { }
public pgF() { }
public get pgF()
public psF(param:any) { }
public set psF(param:any)
private rgF() { }
private get rgF()
private rsF(param:any) { }
private set rsF(param:any)
static tV;
static tF() { }
static tsF(param:any) { }
static set tsF(param:any)
static tgF() { }
static get tgF()
}
interface I {
//Call Signature
();
(): number;
(p);
(p1: string);
(p2?: string);
(...p3: any[]);
(p4: string, p5?: string);
(p6: string, ...p7: any[]);
//(p8?: string, ...p9: any[]);
//(p10:string, p8?: string, ...p9: any[]);
//Construct Signature
new ();
new (): number;
new (p: string);
new (p2?: string);
new (...p3: any[]);
new (p4: string, p5?: string);
new (p6: string, ...p7: any[]);
//Index Signature
[p];
[p1: string];
[p2: string, p3: number];
//Property Signature
p;
p1?;
p2?: string;
//Function Signature
p3();
p4? ();
p5? (): void;
p6(pa1): void;
p7(pa1, pa2): void;
p7? (pa1, pa2): void;
}
module M {
var V;
function F() { };
class C { };
interface I { };
module M { };
export var eV;
export function eF() { };
export class eC { };
export interface eI { };
export module eM { };
export declare var eaV;
export declare function eaF() { };
export declare class eaC { };
export declare module eaM { };
}
export var eV;
export function eF() { };
export class eC {
constructor () { }
public pV;
private rV;
public pF() { }
private rF() { }
public pgF() { }
public get pgF()
public psF(param:any) { }
public set psF(param:any)
private rgF() { }
private get rgF()
private rsF(param:any) { }
private set rsF(param:any)
static tV;
static tF() { }
static tsF(param:any) { }
static set tsF(param:any)
static tgF() { }
static get tgF()
}
export interface eI {
//Call Signature
();
(): number;
(p);
(p1: string);
(p2?: string);
(...p3: any[]);
(p4: string, p5?: string);
(p6: string, ...p7: any[]);
//(p8?: string, ...p9: any[]);
//(p10:string, p8?: string, ...p9: any[]);
//Construct Signature
new ();
new (): number;
new (p: string);
new (p2?: string);
new (...p3: any[]);
new (p4: string, p5?: string);
new (p6: string, ...p7: any[]);
//Index Signature
[p];
[p1: string];
[p2: string, p3: number];
//Property Signature
p;
p1?;
p2?: string;
//Function Signature
p3();
p4? ();
p5? (): void;
p6(pa1): void;
p7(pa1, pa2): void;
p7? (pa1, pa2): void;
}
export module eM {
var V;
function F() { };
class C { };
interface I { };
module M { };
export var eV;
export function eF() { };
export class eC { };
export interface eI { };
export module eM { };
export declare var eaV;
export declare function eaF() { };
export declare class eaC { };
export declare module eaM { };
}
export declare var eaV;
export declare function eaF() { };
export declare class eaC {
constructor () { }
public pV;
private rV;
public pF() { }
private rF() { }
public pgF() { }
public get pgF()
public psF(param:any) { }
public set psF(param:any)
private rgF() { }
private get rgF()
private rsF(param:any) { }
private set rsF(param:any)
static tV;
static tF() { }
static tsF(param:any) { }
static set tsF(param:any)
static tgF() { }
static get tgF()
}
export declare module eaM {
var V;
function F() { };
class C { }
interface I { }
module M { }
export var eV;
export function eF() { };
export class eC { }
export interface eI { }
export module eM { }
}
}
export var eV;
export function eF() { };
export class eC {
constructor () { }
public pV;
private rV;
public pF() { }
private rF() { }
public pgF() { }
public get pgF()
public psF(param:any) { }
public set psF(param:any)
private rgF() { }
private get rgF()
private rsF(param:any) { }
private set rsF(param:any)
static tV;
static tF() { }
static tsF(param:any) { }
static set tsF(param:any)
static tgF() { }
static get tgF()
}
export interface eI {
//Call Signature
();
(): number;
(p);
(p1: string);
(p2?: string);
(...p3: any[]);
(p4: string, p5?: string);
(p6: string, ...p7: any[]);
//(p8?: string, ...p9: any[]);
//(p10:string, p8?: string, ...p9: any[]);
//Construct Signature
new ();
new (): number;
new (p: string);
new (p2?: string);
new (...p3: any[]);
new (p4: string, p5?: string);
new (p6: string, ...p7: any[]);
//Index Signature
[p];
[p1: string];
[p2: string, p3: number];
//Property Signature
p;
p1?;
p2?: string;
//Function Signature
p3();
p4? ();
p5? (): void;
p6(pa1): void;
p7(pa1, pa2): void;
p7? (pa1, pa2): void;
}
export module eM {
var V;
function F() { };
class C {
constructor () { }
public pV;
private rV;
public pF() { }
private rF() { }
public pgF() { }
public get pgF()
public psF(param:any) { }
public set psF(param:any)
private rgF() { }
private get rgF()
private rsF(param:any) { }
private set rsF(param:any)
static tV;
static tF() { }
static tsF(param:any) { }
static set tsF(param:any)
static tgF() { }
static get tgF()
}
interface I {
//Call Signature
();
(): number;
(p);
(p1: string);
(p2?: string);
(...p3: any[]);
(p4: string, p5?: string);
(p6: string, ...p7: any[]);
//(p8?: string, ...p9: any[]);
//(p10:string, p8?: string, ...p9: any[]);
//Construct Signature
new ();
new (): number;
new (p: string);
new (p2?: string);
new (...p3: any[]);
new (p4: string, p5?: string);
new (p6: string, ...p7: any[]);
//Index Signature
[p];
[p1: string];
[p2: string, p3: number];
//Property Signature
p;
p1?;
p2?: string;
//Function Signature
p3();
p4? ();
p5? (): void;
p6(pa1): void;
p7(pa1, pa2): void;
p7? (pa1, pa2): void;
}
module M {
var V;
function F() { };
class C { };
interface I { };
module M { };
export var eV;
export function eF() { };
export class eC { };
export interface eI { };
export module eM { };
export declare var eaV;
export declare function eaF() { };
export declare class eaC { };
export declare module eaM { };
}
export var eV;
export function eF() { };
export class eC {
constructor () { }
public pV;
private rV;
public pF() { }
private rF() { }
public pgF() { }
public get pgF()
public psF(param:any) { }
public set psF(param:any)
private rgF() { }
private get rgF()
private rsF(param:any) { }
private set rsF(param:any)
static tV;
static tF() { }
static tsF(param:any) { }
static set tsF(param:any)
static tgF() { }
static get tgF()
}
export interface eI {
//Call Signature
();
(): number;
(p);
(p1: string);
(p2?: string);
(...p3: any[]);
(p4: string, p5?: string);
(p6: string, ...p7: any[]);
//(p8?: string, ...p9: any[]);
//(p10:string, p8?: string, ...p9: any[]);
//Construct Signature
new ();
new (): number;
new (p: string);
new (p2?: string);
new (...p3: any[]);
new (p4: string, p5?: string);
new (p6: string, ...p7: any[]);
//Index Signature
[p];
[p1: string];
[p2: string, p3: number];
//Property Signature
p;
p1?;
p2?: string;
//Function Signature
p3();
p4? ();
p5? (): void;
p6(pa1): void;
p7(pa1, pa2): void;
p7? (pa1, pa2): void;
}
export module eM {
var V;
function F() { };
class C { };
interface I { };
module M { };
export var eV;
export function eF() { };
export class eC { };
export interface eI { };
export module eM { };
export declare var eaV;
export declare function eaF() { };
export declare class eaC { };
export declare module eaM { };
}
export declare var eaV;
export declare function eaF() { };
export declare class eaC {
constructor () { }
public pV;
private rV;
public pF() { }
private rF() { }
public pgF() { }
public get pgF()
public psF(param:any) { }
public set psF(param:any)
private rgF() { }
private get rgF()
private rsF(param:any) { }
private set rsF(param:any)
static tV;
static tF() { }
static tsF(param:any) { }
static set tsF(param:any)
static tgF() { }
static get tgF()
}
export declare module eaM {
var V;
function F() { };
class C { }
interface I { }
module M { }
export var eV;
export function eF() { };
export class eC { }
export interface eI { }
export module eM { }
}
}
export declare var eaV;
export declare function eaF() { };
export declare class eaC {
constructor () { }
public pV;
private rV;
public pF() { }
private rF() { }
public pgF() { }
public get pgF()
public psF(param:any) { }
public set psF(param:any)
private rgF() { }
private get rgF()
private rsF(param:any) { }
private set rsF(param:any)
static tV;
static tF() { }
static tsF(param:any) { }
static set tsF(param:any)
static tgF() { }
static get tgF()
}
export declare module eaM {
var V;
function F() { };
class C {
constructor () { }
public pV;
private rV;
public pF() { }
static tV;
static tF() { }
}
interface I {
//Call Signature
();
(): number;
(p: string);
(p2?: string);
(...p3: any[]);
(p4: string, p5?: string);
(p6: string, ...p7: any[]);
//(p8?: string, ...p9: any[]);
//(p10:string, p8?: string, ...p9: any[]);
//Construct Signature
new ();
new (): number;
new (p: string);
new (p2?: string);
new (...p3: any[]);
new (p4: string, p5?: string);
new (p6: string, ...p7: any[]);
//Index Signature
[p];
[p1: string];
[p2: string, p3: number];
//Property Signature
p;
p1?;
p2?: string;
//Function Signature
p3();
p4? ();
p5? (): void;
p6(pa1): void;
p7(pa1, pa2): void;
p7? (pa1, pa2): void;
}
module M {
var V;
function F() { };
class C { }
interface I { }
module M { }
export var eV;
export function eF() { };
export class eC { }
export interface eI { }
export module eM { }
export declare var eaV
export declare function eaF() { };
export declare class eaC { }
export declare module eaM { }
}
export var eV;
export function eF() { };
export class eC {
constructor () { }
public pV;
private rV;
public pF() { }
static tV
static tF() { }
}
export interface eI {
//Call Signature
();
(): number;
(p);
(p1: string);
(p2?: string);
(...p3: any[]);
(p4: string, p5?: string);
(p6: string, ...p7: any[]);
//(p8?: string, ...p9: any[]);
//(p10:string, p8?: string, ...p9: any[]);
//Construct Signature
new ();
new (): number;
new (p: string);
new (p2?: string);
new (...p3: any[]);
new (p4: string, p5?: string);
new (p6: string, ...p7: any[]);
//Index Signature
[p];
[p1: string];
[p2: string, p3: number];
//Property Signature
p;
p1?;
p2?: string;
//Function Signature
p3();
p4? ();
p5? (): void;
p6(pa1): void;
p7(pa1, pa2): void;
p7? (pa1, pa2): void;
}
export module eM {
var V;
function F() { };
class C { }
module M { }
export var eV;
export function eF() { };
export class eC { }
export interface eI { }
export module eM { }
}
}