https://github.com/angular/angular
Raw File
Tip revision: 8a547eeee0ca995f798bdb95688eb6cda15ad9c0 authored by Hans Larsen on 16 June 2017, 16:41:51 UTC
docs: add changelog for 4.2.3
Tip revision: 8a547ee
compile_reflector.ts
/**
 * @license
 * Copyright Google Inc. All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */

import {Component} from '@angular/core';
import * as o from './output/output_ast';

/**
 * Provides access to reflection data about symbols that the compiler needs.
 */
export abstract class CompileReflector {
  abstract parameters(typeOrFunc: /*Type*/ any): any[][];
  abstract annotations(typeOrFunc: /*Type*/ any): any[];
  abstract propMetadata(typeOrFunc: /*Type*/ any): {[key: string]: any[]};
  abstract hasLifecycleHook(type: any, lcProperty: string): boolean;
  abstract componentModuleUrl(type: /*Type*/ any, cmpMetadata: Component): string;
  abstract resolveExternalReference(ref: o.ExternalReference): any;
}
back to top