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/expressions" />
|
9 | import { AST } from '@angular/compiler';
|
10 | import { Span, Symbol, SymbolTable, TemplateSource } from './types';
|
11 | export declare function getExpressionCompletions(scope: SymbolTable, ast: AST, position: number, templateInfo: TemplateSource): Symbol[] | undefined;
|
12 | /**
|
13 | * Retrieves the expression symbol at a particular position in a template.
|
14 | *
|
15 | * @param scope symbols in scope of the template
|
16 | * @param ast template AST
|
17 | * @param position absolute location in template to retrieve symbol at
|
18 | * @param query type symbol query for the template scope
|
19 | */
|
20 | export declare function getExpressionSymbol(scope: SymbolTable, ast: AST, position: number, templateInfo: TemplateSource): {
|
21 | symbol: Symbol;
|
22 | span: Span;
|
23 | } | undefined;
|