CodeSerializer.d.ts 555 B

12345678910111213141516171819202122
  1. export namespace CodeSerializer {
  2. export function serializeClass( targetPrototype: object, targetPrototypeInstance: object, basePrototypeName?: string, overrideFunctions?: CodeSerializationInstruction[] ): string;
  3. }
  4. export class CodeSerializationInstruction {
  5. constructor( name: string, fullName: string );
  6. name: string;
  7. fullName: string;
  8. code: string;
  9. removeCode: boolean;
  10. getName(): string;
  11. getFullName(): string;
  12. setCode( code: string ): this;
  13. getCode(): string;
  14. setRemoveCode( removeCode: boolean ): this;
  15. isRemoveCode(): boolean;
  16. }