147 lines
14 KiB
Text
147 lines
14 KiB
Text
=== tests/cases/compiler/declFileGenericType2.ts ===
|
|
|
|
declare module templa.mvc {
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
|
|
interface IModel {
|
|
>IModel : Symbol(IModel, Decl(declFileGenericType2.ts, 1, 27))
|
|
}
|
|
}
|
|
declare module templa.mvc {
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
|
|
interface IController<ModelType extends templa.mvc.IModel> {
|
|
>IController : Symbol(IController, Decl(declFileGenericType2.ts, 5, 27))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 6, 26))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IModel : Symbol(IModel, Decl(declFileGenericType2.ts, 1, 27))
|
|
}
|
|
}
|
|
declare module templa.mvc {
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
|
|
class AbstractController<ModelType extends templa.mvc.IModel> implements mvc.IController<ModelType> {
|
|
>AbstractController : Symbol(AbstractController, Decl(declFileGenericType2.ts, 9, 27))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 10, 29))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IModel : Symbol(IModel, Decl(declFileGenericType2.ts, 1, 27))
|
|
>mvc.IController : Symbol(IController, Decl(declFileGenericType2.ts, 5, 27))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IController : Symbol(IController, Decl(declFileGenericType2.ts, 5, 27))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 10, 29))
|
|
}
|
|
}
|
|
declare module templa.mvc.composite {
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>composite : Symbol(composite, Decl(declFileGenericType2.ts, 13, 26))
|
|
|
|
interface ICompositeControllerModel extends mvc.IModel {
|
|
>ICompositeControllerModel : Symbol(ICompositeControllerModel, Decl(declFileGenericType2.ts, 13, 37))
|
|
>mvc.IModel : Symbol(IModel, Decl(declFileGenericType2.ts, 1, 27))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IModel : Symbol(IModel, Decl(declFileGenericType2.ts, 1, 27))
|
|
|
|
getControllers(): mvc.IController<mvc.IModel>[];
|
|
>getControllers : Symbol(getControllers, Decl(declFileGenericType2.ts, 14, 60))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IController : Symbol(IController, Decl(declFileGenericType2.ts, 5, 27))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IModel : Symbol(IModel, Decl(declFileGenericType2.ts, 1, 27))
|
|
}
|
|
}
|
|
module templa.dom.mvc {
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>dom : Symbol(dom, Decl(declFileGenericType2.ts, 18, 14), Decl(declFileGenericType2.ts, 23, 14), Decl(declFileGenericType2.ts, 32, 14))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 18, 18), Decl(declFileGenericType2.ts, 23, 18), Decl(declFileGenericType2.ts, 32, 18))
|
|
|
|
export interface IElementController<ModelType extends templa.mvc.IModel> extends templa.mvc.IController<ModelType> {
|
|
>IElementController : Symbol(IElementController, Decl(declFileGenericType2.ts, 18, 23))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 19, 40))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IModel : Symbol(templa.mvc.IModel, Decl(declFileGenericType2.ts, 1, 27))
|
|
>templa.mvc.IController : Symbol(templa.mvc.IController, Decl(declFileGenericType2.ts, 5, 27))
|
|
>templa.mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IController : Symbol(templa.mvc.IController, Decl(declFileGenericType2.ts, 5, 27))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 19, 40))
|
|
}
|
|
}
|
|
// Module
|
|
module templa.dom.mvc {
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>dom : Symbol(dom, Decl(declFileGenericType2.ts, 18, 14), Decl(declFileGenericType2.ts, 23, 14), Decl(declFileGenericType2.ts, 32, 14))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 18, 18), Decl(declFileGenericType2.ts, 23, 18), Decl(declFileGenericType2.ts, 32, 18))
|
|
|
|
export class AbstractElementController<ModelType extends templa.mvc.IModel> extends templa.mvc.AbstractController<ModelType> implements IElementController<ModelType> {
|
|
>AbstractElementController : Symbol(AbstractElementController, Decl(declFileGenericType2.ts, 23, 23))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 25, 43))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IModel : Symbol(templa.mvc.IModel, Decl(declFileGenericType2.ts, 1, 27))
|
|
>templa.mvc.AbstractController : Symbol(templa.mvc.AbstractController, Decl(declFileGenericType2.ts, 9, 27))
|
|
>templa.mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>AbstractController : Symbol(templa.mvc.AbstractController, Decl(declFileGenericType2.ts, 9, 27))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 25, 43))
|
|
>IElementController : Symbol(IElementController, Decl(declFileGenericType2.ts, 18, 23))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 25, 43))
|
|
|
|
constructor() {
|
|
super();
|
|
>super : Symbol(templa.mvc.AbstractController, Decl(declFileGenericType2.ts, 9, 27))
|
|
}
|
|
}
|
|
}
|
|
// Module
|
|
module templa.dom.mvc.composite {
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>dom : Symbol(dom, Decl(declFileGenericType2.ts, 18, 14), Decl(declFileGenericType2.ts, 23, 14), Decl(declFileGenericType2.ts, 32, 14))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 18, 18), Decl(declFileGenericType2.ts, 23, 18), Decl(declFileGenericType2.ts, 32, 18))
|
|
>composite : Symbol(composite, Decl(declFileGenericType2.ts, 32, 22))
|
|
|
|
export class AbstractCompositeElementController<ModelType extends templa.mvc.composite.ICompositeControllerModel> extends templa.dom.mvc.AbstractElementController<ModelType> {
|
|
>AbstractCompositeElementController : Symbol(AbstractCompositeElementController, Decl(declFileGenericType2.ts, 32, 33))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 33, 52))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>composite : Symbol(templa.mvc.composite, Decl(declFileGenericType2.ts, 13, 26))
|
|
>ICompositeControllerModel : Symbol(templa.mvc.composite.ICompositeControllerModel, Decl(declFileGenericType2.ts, 13, 37))
|
|
>templa.dom.mvc.AbstractElementController : Symbol(AbstractElementController, Decl(declFileGenericType2.ts, 23, 23))
|
|
>templa.dom.mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 18, 18), Decl(declFileGenericType2.ts, 23, 18), Decl(declFileGenericType2.ts, 32, 18))
|
|
>templa.dom : Symbol(dom, Decl(declFileGenericType2.ts, 18, 14), Decl(declFileGenericType2.ts, 23, 14), Decl(declFileGenericType2.ts, 32, 14))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>dom : Symbol(dom, Decl(declFileGenericType2.ts, 18, 14), Decl(declFileGenericType2.ts, 23, 14), Decl(declFileGenericType2.ts, 32, 14))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 18, 18), Decl(declFileGenericType2.ts, 23, 18), Decl(declFileGenericType2.ts, 32, 18))
|
|
>AbstractElementController : Symbol(AbstractElementController, Decl(declFileGenericType2.ts, 23, 23))
|
|
>ModelType : Symbol(ModelType, Decl(declFileGenericType2.ts, 33, 52))
|
|
|
|
public _controllers: templa.mvc.IController<templa.mvc.IModel>[];
|
|
>_controllers : Symbol(_controllers, Decl(declFileGenericType2.ts, 33, 179))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IController : Symbol(templa.mvc.IController, Decl(declFileGenericType2.ts, 5, 27))
|
|
>templa : Symbol(templa, Decl(declFileGenericType2.ts, 0, 0), Decl(declFileGenericType2.ts, 4, 1), Decl(declFileGenericType2.ts, 8, 1), Decl(declFileGenericType2.ts, 12, 1), Decl(declFileGenericType2.ts, 17, 1), Decl(declFileGenericType2.ts, 21, 1), Decl(declFileGenericType2.ts, 30, 1))
|
|
>mvc : Symbol(mvc, Decl(declFileGenericType2.ts, 1, 22), Decl(declFileGenericType2.ts, 5, 22), Decl(declFileGenericType2.ts, 9, 22), Decl(declFileGenericType2.ts, 13, 22))
|
|
>IModel : Symbol(templa.mvc.IModel, Decl(declFileGenericType2.ts, 1, 27))
|
|
|
|
constructor() {
|
|
super();
|
|
>super : Symbol(AbstractElementController, Decl(declFileGenericType2.ts, 23, 23))
|
|
|
|
this._controllers = [];
|
|
>this._controllers : Symbol(_controllers, Decl(declFileGenericType2.ts, 33, 179))
|
|
>this : Symbol(AbstractCompositeElementController, Decl(declFileGenericType2.ts, 32, 33))
|
|
>_controllers : Symbol(_controllers, Decl(declFileGenericType2.ts, 33, 179))
|
|
}
|
|
}
|
|
}
|
|
|