Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
860 bytes
|
Line | |
---|
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 | import { UpdateRecorder } from '@angular-devkit/schematics';
|
---|
9 | import * as ts from 'typescript';
|
---|
10 | /**
|
---|
11 | * Retrieves the parent syntax list of the given node. A syntax list node is usually
|
---|
12 | * hidden from the default AST node hierarchy because it only contains information that
|
---|
13 | * is need when printing a node. e.g. it contains information about comma positions in
|
---|
14 | * an array literal expression.
|
---|
15 | */
|
---|
16 | export declare function getParentSyntaxList(node: ts.Node): ts.SyntaxList | null;
|
---|
17 | /** Removes a given element from its parent array literal expression. */
|
---|
18 | export declare function removeElementFromArrayExpression(element: ts.Node, recorder: UpdateRecorder): void;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.