angular-cn/modules/angular2/test/reflection/reflector_common.dart

20 lines
327 B
Dart
Raw Normal View History

2015-05-22 19:20:46 -04:00
class ClassDecorator {
final dynamic value;
const ClassDecorator(this.value);
}
class ParamDecorator {
final dynamic value;
const ParamDecorator(this.value);
}
ClassDecorator classDecorator(value) {
return new ClassDecorator(value);
}
ParamDecorator paramDecorator(value) {
return new ParamDecorator(value);
}