1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { __extends } from "tslib";
|
9 | import { ReflectorReader } from './reflector_reader';
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | var Reflector = (function (_super) {
|
15 | __extends(Reflector, _super);
|
16 | function Reflector(reflectionCapabilities) {
|
17 | var _this = _super.call(this) || this;
|
18 | _this.reflectionCapabilities = reflectionCapabilities;
|
19 | return _this;
|
20 | }
|
21 | Reflector.prototype.updateCapabilities = function (caps) {
|
22 | this.reflectionCapabilities = caps;
|
23 | };
|
24 | Reflector.prototype.factory = function (type) {
|
25 | return this.reflectionCapabilities.factory(type);
|
26 | };
|
27 | Reflector.prototype.parameters = function (typeOrFunc) {
|
28 | return this.reflectionCapabilities.parameters(typeOrFunc);
|
29 | };
|
30 | Reflector.prototype.annotations = function (typeOrFunc) {
|
31 | return this.reflectionCapabilities.annotations(typeOrFunc);
|
32 | };
|
33 | Reflector.prototype.propMetadata = function (typeOrFunc) {
|
34 | return this.reflectionCapabilities.propMetadata(typeOrFunc);
|
35 | };
|
36 | Reflector.prototype.hasLifecycleHook = function (type, lcProperty) {
|
37 | return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);
|
38 | };
|
39 | Reflector.prototype.getter = function (name) {
|
40 | return this.reflectionCapabilities.getter(name);
|
41 | };
|
42 | Reflector.prototype.setter = function (name) {
|
43 | return this.reflectionCapabilities.setter(name);
|
44 | };
|
45 | Reflector.prototype.method = function (name) {
|
46 | return this.reflectionCapabilities.method(name);
|
47 | };
|
48 | Reflector.prototype.importUri = function (type) {
|
49 | return this.reflectionCapabilities.importUri(type);
|
50 | };
|
51 | Reflector.prototype.resourceUri = function (type) {
|
52 | return this.reflectionCapabilities.resourceUri(type);
|
53 | };
|
54 | Reflector.prototype.resolveIdentifier = function (name, moduleUrl, members, runtime) {
|
55 | return this.reflectionCapabilities.resolveIdentifier(name, moduleUrl, members, runtime);
|
56 | };
|
57 | Reflector.prototype.resolveEnum = function (identifier, name) {
|
58 | return this.reflectionCapabilities.resolveEnum(identifier, name);
|
59 | };
|
60 | return Reflector;
|
61 | }(ReflectorReader));
|
62 | export { Reflector };
|
63 |
|
\ | No newline at end of file |