1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { Type } from '../facade/type';
|
9 | import { PlatformReflectionCapabilities } from './platform_reflection_capabilities';
|
10 | import { GetterFn, MethodFn, SetterFn } from './types';
|
11 |
|
12 |
|
13 |
|
14 | export declare const DELEGATE_CTOR: RegExp;
|
15 | export declare class ReflectionCapabilities implements PlatformReflectionCapabilities {
|
16 | private _reflect;
|
17 | constructor(reflect?: any);
|
18 | isReflectionEnabled(): boolean;
|
19 | factory<T>(t: Type<T>): (args: any[]) => T;
|
20 | private _ownParameters;
|
21 | parameters(type: Type<any>): any[][];
|
22 | private _ownAnnotations;
|
23 | annotations(typeOrFunc: Type<any>): any[];
|
24 | private _ownPropMetadata;
|
25 | propMetadata(typeOrFunc: any): {
|
26 | [key: string]: any[];
|
27 | };
|
28 | hasLifecycleHook(type: any, lcProperty: string): boolean;
|
29 | getter(name: string): GetterFn;
|
30 | setter(name: string): SetterFn;
|
31 | method(name: string): MethodFn;
|
32 | importUri(type: any): string;
|
33 | resourceUri(type: any): string;
|
34 | resolveIdentifier(name: string, moduleUrl: string, members: string[], runtime: any): any;
|
35 | resolveEnum(enumIdentifier: any, name: string): any;
|
36 | }
|