1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { Type } from '../facade/type';
|
9 | import { PlatformReflectionCapabilities } from './platform_reflection_capabilities';
|
10 | import { ReflectorReader } from './reflector_reader';
|
11 | import { GetterFn, MethodFn, SetterFn } from './types';
|
12 | export { PlatformReflectionCapabilities } from './platform_reflection_capabilities';
|
13 | export { GetterFn, MethodFn, SetterFn } from './types';
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare class Reflector extends ReflectorReader {
|
19 | reflectionCapabilities: PlatformReflectionCapabilities;
|
20 | constructor(reflectionCapabilities: PlatformReflectionCapabilities);
|
21 | updateCapabilities(caps: PlatformReflectionCapabilities): void;
|
22 | factory(type: Type<any>): Function;
|
23 | parameters(typeOrFunc: Type<any>): any[][];
|
24 | annotations(typeOrFunc: Type<any>): any[];
|
25 | propMetadata(typeOrFunc: Type<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[] | null, runtime: any): any;
|
35 | resolveEnum(identifier: any, name: string): any;
|
36 | }
|