@vendure/ngx-translate-extract
Version:
Extract strings from projects using ngx-translate
11 lines (10 loc) • 648 B
TypeScript
import { ClassDeclaration, CallExpression, SourceFile } from 'typescript';
import { ParserInterface } from './parser.interface.js';
import { TranslationCollection } from '../utils/translation.collection.js';
export declare class ServiceParser implements ParserInterface {
private static propertyMap;
extract(source: string, filePath: string): TranslationCollection | null;
protected findConstructorParamCallExpressions(classDeclaration: ClassDeclaration): CallExpression[];
protected findPropertyCallExpressions(classDeclaration: ClassDeclaration, sourceFile: SourceFile): CallExpression[];
private findParentClassProperties;
}