UNPKG

585 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/// <amd-module name="@angular/language-service/src/locate_symbol" />
9import { AstResult, SymbolInfo } from './types';
10/**
11 * Traverses a template AST and locates symbol(s) at a specified position.
12 * @param info template AST information set
13 * @param position location to locate symbols at
14 */
15export declare function locateSymbols(info: AstResult, position: number): SymbolInfo[];