UNPKG

ngx-translate-extract

Version:

Extract strings from projects using ngx-translate. Forked from biesbjerg/ngx-translate-extract

10 lines (9 loc) 541 B
import * as ts from 'typescript'; export declare abstract class AbstractAstParser { protected _sourceFile: ts.SourceFile; protected _createSourceFile(path: string, contents: string): ts.SourceFile; protected _getCallArgStrings(callNode: ts.CallExpression): string[]; protected _findNodes(node: ts.Node, kind: ts.SyntaxKind, onlyOne?: boolean): ts.Node[]; protected _syntaxKindToName(kind: ts.SyntaxKind): string; protected _printAllChildren(sourceFile: ts.SourceFile, node: ts.Node, depth?: number): void; }