Home
last modified time | relevance | path

Searched refs:ExportDeclaration (Results 1 – 25 of 48) sorted by relevance

12

/third_party/typescript/src/compiler/transformers/
Dutilities.ts9 …externalImports: (ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration)[]; // imports o…
40 export function getExportNeedsImportStarHelper(node: ExportDeclaration): boolean {
69 … const externalImports: (ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration)[] = [];
104 case SyntaxKind.ExportDeclaration:
105 if ((node as ExportDeclaration).moduleSpecifier) {
106 if (!(node as ExportDeclaration).exportClause) {
108 externalImports.push(node as ExportDeclaration);
114 externalImports.push(node as ExportDeclaration);
115 if (isNamedExports((node as ExportDeclaration).exportClause!)) {
116 addExportedNamesForExportDeclaration(node as ExportDeclaration);
[all …]
Ddeclarations.ts613 case SyntaxKind.ExportDeclaration:
714 …extends Node>(parent: ImportEqualsDeclaration | ImportDeclaration | ExportDeclaration | ModuleDecl…
1142 case SyntaxKind.ExportDeclaration: {
1280 … let declarations: (VariableStatement | ExportDeclaration)[] = mapDefined(props, p => {
1723 | ExportDeclaration
1738 case SyntaxKind.ExportDeclaration:
Dts.ts219 case SyntaxKind.ExportDeclaration:
220 …tement(node as ImportDeclaration | ImportEqualsDeclaration | ExportAssignment | ExportDeclaration);
226 …e: ImportDeclaration | ImportEqualsDeclaration | ExportAssignment | ExportDeclaration): VisitResul…
247 case SyntaxKind.ExportDeclaration:
269 if (node.kind === SyntaxKind.ExportDeclaration ||
2055 function visitExportDeclaration(node: ExportDeclaration): VisitResult<Statement> {
/third_party/typescript/tests/baselines/reference/
Denums.types8 ExportDeclaration
9 >ExportDeclaration : SyntaxKind.ExportDeclaration
Denums.symbols8 ExportDeclaration
9 >ExportDeclaration : Symbol(SyntaxKind.ExportDeclaration, Decl(a.ts, 1, 15))
Denums.js6 ExportDeclaration
Denums.errors.txt8 ExportDeclaration
/third_party/typescript/src/services/
DorganizeImports.ts57 function organizeImportsWorker<T extends ImportDeclaration | ExportDeclaration>(
380 export function coalesceExports(exportGroup: readonly ExportDeclaration[]) {
387 const coalescedExports: ExportDeclaration[] = [];
424 function getCategorizedExports(exportGroup: readonly ExportDeclaration[]) {
425 let exportWithoutClause: ExportDeclaration | undefined;
426 const namedExports: ExportDeclaration[] = [];
427 const typeOnlyExports: ExportDeclaration[] = [];
DimportTracker.ts259 if (decl.kind === SyntaxKind.ExportDeclaration) {
425 case SyntaxKind.ExportDeclaration:
427 const decl = statement as ImportDeclaration | ExportDeclaration;
Dbreakpoints.ts188 case SyntaxKind.ExportDeclaration:
190 return textSpan(node, (node as ExportDeclaration).moduleSpecifier);
/third_party/typescript/src/compiler/transformers/module/
DesnextAnd2015.ts78 case SyntaxKind.ExportDeclaration:
79 const exportDecl = (node as ExportDeclaration);
91 …on createRequireCall(importNode: ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration) {
189 function visitExportDeclaration(node: ExportDeclaration) {
Dsystem.ts6 externalImports: (ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration)[];
144 …dencyGroups(externalImports: (ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration)[]) {
310 … if (externalImport.kind === SyntaxKind.ExportDeclaration && externalImport.exportClause) {
485 case SyntaxKind.ExportDeclaration:
588 case SyntaxKind.ExportDeclaration:
589 return visitExportDeclaration(node as ExportDeclaration);
622 function visitExportDeclaration(node: ExportDeclaration): VisitResult<Statement> {
Dmodule.ts410 …function getAMDImportExpressionForImport(node: ImportDeclaration | ExportDeclaration | ImportEqual…
516 case SyntaxKind.ExportDeclaration:
517 return visitExportDeclaration(node as ExportDeclaration);
872 function getHelperExpressionForExport(node: ExportDeclaration, innerExpr: Expression) {
1005 …on createRequireCall(importNode: ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration) {
1096 function visitExportDeclaration(node: ExportDeclaration): VisitResult<Statement> {
/third_party/typescript/src/services/codefixes/
DfixImportNonExportedMember.ts119 …Program, sourceFile: SourceFile, moduleExports: ExportName[], node: ExportDeclaration | undefined)…
131 const predicate = (node: Node): node is ExportDeclaration =>
136 …nges.ChangeTracker, program: Program, sourceFile: SourceFile, node: ExportDeclaration, names: Expo…
DconvertToEsModule.ts316 function reExportStar(moduleSpecifier: string): ExportDeclaration {
319 function reExportDefault(moduleSpecifier: string): ExportDeclaration {
583 …ion(exportSpecifiers: ExportSpecifier[] | undefined, moduleSpecifier?: string): ExportDeclaration {
/third_party/typescript/tests/cases/conformance/externalModules/typeOnly/
Denums.ts4 ExportDeclaration
/third_party/typescript/src/testRunner/unittests/services/
DorganizeImports.ts1045 function parseExports(...exportStrings: string[]): readonly ExportDeclaration[] {
1093 case SyntaxKind.ExportDeclaration:
1094 const ed1 = node1 as ExportDeclaration;
1095 const ed2 = node2 as ExportDeclaration;
/third_party/typescript/src/compiler/factory/
DutilitiesPublic.ts33 || kind === SyntaxKind.ExportDeclaration;
Dutilities.ts568 …meForExternalImport(factory: NodeFactory, node: ImportDeclaration | ExportDeclaration | ImportEqua…
577 if (node.kind === SyntaxKind.ExportDeclaration && node.moduleSpecifier) {
591 …leNameLiteral(factory: NodeFactory, importNode: ImportDeclaration | ExportDeclaration | ImportEqua…
631 …laration(declaration: ImportEqualsDeclaration | ImportDeclaration | ExportDeclaration | ImportCall…
896 || kind === SyntaxKind.ExportDeclaration
/third_party/typescript/src/deprecatedCompat/4.8/
DmergeDecoratorsAndModifiers.ts210 …indings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
214ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | …
1335 …ndings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration {
1339 …ndings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration {
1367ExportDeclaration, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: …
1371ExportDeclaration, _decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] |…
/third_party/typescript/src/compiler/
DohApi.ts425 case SyntaxKind.ExportDeclaration:
426 return visitExportDeclaration(<ExportDeclaration>node);
598 function visitExportDeclaration(node: ExportDeclaration): VisitResult<Statement> {
Dtypes.ts325 ExportDeclaration, enumerator
1081 | ExportDeclaration
1159 | ExportDeclaration
1264 | ExportDeclaration
1297 | ExportDeclaration
3510 readonly parent: ImportDeclaration | ExportDeclaration
3523 readonly parent: ExportDeclaration;
3536 export interface ExportDeclaration extends DeclarationStatement, JSDocContainer {
3537 readonly kind: SyntaxKind.ExportDeclaration;
3559 readonly parent: ExportDeclaration;
[all …]
/third_party/typescript/src/testRunner/unittests/
Dtransform.ts275 if (node.kind === SyntaxKind.ExportDeclaration) {
276 const ed = node as Node as ExportDeclaration;
/third_party/typescript/lib/
Dtypescript.d.ts386 ExportDeclaration = 278, enumerator
604 …tion | FunctionTypeNode | ConstructorTypeNode | JSDocFunctionType | ExportDeclaration | NamedTuple…
610 …qualsDeclaration | ImportDeclaration | NamespaceExportDeclaration | ExportDeclaration | ExportAssi…
611 …leDeclaration | ImportEqualsDeclaration | ImportDeclaration | ExportAssignment | ExportDeclaration;
1741 readonly parent: ImportDeclaration | ExportDeclaration;
1752 readonly parent: ExportDeclaration;
1759 export interface ExportDeclaration extends DeclarationStatement, JSDocContainer { interface
1760 readonly kind: SyntaxKind.ExportDeclaration;
1777 readonly parent: ExportDeclaration;
1818 readonly parent: ExportDeclaration & {
[all …]
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts386 ExportDeclaration = 278, enumerator
604 …tion | FunctionTypeNode | ConstructorTypeNode | JSDocFunctionType | ExportDeclaration | NamedTuple…
610 …qualsDeclaration | ImportDeclaration | NamespaceExportDeclaration | ExportDeclaration | ExportAssi…
611 …leDeclaration | ImportEqualsDeclaration | ImportDeclaration | ExportAssignment | ExportDeclaration;
1741 readonly parent: ImportDeclaration | ExportDeclaration;
1752 readonly parent: ExportDeclaration;
1759 export interface ExportDeclaration extends DeclarationStatement, JSDocContainer { interface
1760 readonly kind: SyntaxKind.ExportDeclaration;
1777 readonly parent: ExportDeclaration;
1818 readonly parent: ExportDeclaration & {
[all …]

12