/** * @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 { Node, TemplateAst, TemplateAstPath } from '@angular/compiler'; import { SymbolQuery, SymbolTable } from './symbols'; import { Diagnostic } from './types'; export interface DiagnosticTemplateInfo { fileName?: string; offset: number; query: SymbolQuery; members: SymbolTable; htmlAst: Node[]; templateAst: TemplateAst[]; } export declare function getTemplateExpressionDiagnostics(info: DiagnosticTemplateInfo): Diagnostic[]; /** * Returns the symbols available in a particular scope of a template. * @param info parsed template information * @param path path of template nodes narrowing to the context the expression scope should be * derived for. */ export declare function getExpressionScope(info: DiagnosticTemplateInfo, path: TemplateAstPath): SymbolTable;