Home
last modified time | relevance | path

Searched refs:ExportDeclaration (Results 1 – 25 of 41) 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 ((<ExportDeclaration>node).moduleSpecifier) {
106 if (!(<ExportDeclaration>node).exportClause) {
108 externalImports.push(<ExportDeclaration>node);
114 externalImports.push(<ExportDeclaration>node);
115 if (isNamedExports((node as ExportDeclaration).exportClause!)) {
116 addExportedNamesForExportDeclaration(node as ExportDeclaration);
[all …]
Dts.ts235 case SyntaxKind.ExportDeclaration:
236 …tatement(<ImportDeclaration | ImportEqualsDeclaration | ExportAssignment | ExportDeclaration>node);
242 …e: ImportDeclaration | ImportEqualsDeclaration | ExportAssignment | ExportDeclaration): VisitResul…
263 case SyntaxKind.ExportDeclaration:
285 if (node.kind === SyntaxKind.ExportDeclaration ||
2895 function visitExportDeclaration(node: ExportDeclaration): VisitResult<Statement> {
3412 case SyntaxKind.ExportDeclaration:
3413 return visitExportDeclaration(<ExportDeclaration>node);
3582 function visitExportDeclaration(node: ExportDeclaration): VisitResult<Statement> {
Ddeclarations.ts579 case SyntaxKind.ExportDeclaration:
669 …extends Node>(parent: ImportEqualsDeclaration | ImportDeclaration | ExportDeclaration | ModuleDecl…
1108 case SyntaxKind.ExportDeclaration: {
1692 | ExportDeclaration
1707 case SyntaxKind.ExportDeclaration:
/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.ts44 function organizeImportsWorker<T extends ImportDeclaration | ExportDeclaration>(
317 export function coalesceExports(exportGroup: readonly ExportDeclaration[]) {
324 const coalescedExports: ExportDeclaration[] = [];
361 function getCategorizedExports(exportGroup: readonly ExportDeclaration[]) {
362 let exportWithoutClause: ExportDeclaration | undefined;
363 const namedExports: ExportDeclaration[] = [];
364 const typeOnlyExports: ExportDeclaration[] = [];
DimportTracker.ts257 if (decl.kind === SyntaxKind.ExportDeclaration) {
423 case SyntaxKind.ExportDeclaration:
425 const decl = statement as ImportDeclaration | ExportDeclaration;
Dbreakpoints.ts177 case SyntaxKind.ExportDeclaration:
179 return textSpan(node, (<ExportDeclaration>node).moduleSpecifier);
Dutilities.ts80 case SyntaxKind.ExportDeclaration:
663 case SyntaxKind.ExportDeclaration:
665 return nodeIsPresent((<ExportDeclaration | ImportDeclaration>n).moduleSpecifier);
861 function getAdjustedLocationForExportDeclaration(node: ExportDeclaration, forRename: boolean) {
2590 || kind === SyntaxKind.ExportDeclaration
/third_party/typescript/src/compiler/transformers/module/
DesnextAnd2015.ts62 case SyntaxKind.ExportDeclaration:
63 const exportDecl = (node as ExportDeclaration);
75 function visitExportDeclaration(node: ExportDeclaration) {
Dsystem.ts6 externalImports: (ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration)[];
146 …dencyGroups(externalImports: (ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration)[]) {
312 … if (externalImport.kind === SyntaxKind.ExportDeclaration && externalImport.exportClause) {
474 case SyntaxKind.ExportDeclaration:
577 case SyntaxKind.ExportDeclaration:
578 return visitExportDeclaration(<ExportDeclaration>node);
611 function visitExportDeclaration(node: ExportDeclaration): VisitResult<Statement> {
Dmodule.ts409 …function getAMDImportExpressionForImport(node: ImportDeclaration | ExportDeclaration | ImportEqual…
515 case SyntaxKind.ExportDeclaration:
516 return visitExportDeclaration(<ExportDeclaration>node);
766 function getHelperExpressionForExport(node: ExportDeclaration, innerExpr: Expression) {
899 …on createRequireCall(importNode: ImportDeclaration | ImportEqualsDeclaration | ExportDeclaration) {
990 function visitExportDeclaration(node: ExportDeclaration): VisitResult<Statement> {
/third_party/typescript/tests/cases/conformance/externalModules/typeOnly/
Denums.ts4 ExportDeclaration
/third_party/typescript/src/testRunner/unittests/services/
DorganizeImports.ts962 function parseExports(...exportStrings: string[]): readonly ExportDeclaration[] {
1010 case SyntaxKind.ExportDeclaration:
1011 const ed1 = node1 as ExportDeclaration;
1012 const ed2 = node2 as ExportDeclaration;
/third_party/typescript/src/compiler/factory/
Dutilities.ts491 …meForExternalImport(factory: NodeFactory, node: ImportDeclaration | ExportDeclaration | ImportEqua…
500 if (node.kind === SyntaxKind.ExportDeclaration && node.moduleSpecifier) {
514 …leNameLiteral(factory: NodeFactory, importNode: ImportDeclaration | ExportDeclaration | ImportEqua…
554 …laration(declaration: ImportEqualsDeclaration | ImportDeclaration | ExportDeclaration | ImportCall…
816 || kind === SyntaxKind.ExportDeclaration;
DnodeTests.ts556 export function isExportDeclaration(node: Node): node is ExportDeclaration {
557 return node.kind === SyntaxKind.ExportDeclaration;
/third_party/typescript/src/compiler/
DvisitorPublic.ts990 case SyntaxKind.ExportDeclaration:
991 return factory.updateExportDeclaration(<ExportDeclaration>node,
992 nodesVisitor((<ExportDeclaration>node).decorators, visitor, isDecorator),
993 nodesVisitor((<ExportDeclaration>node).modifiers, visitor, isModifier),
994 (<ExportDeclaration>node).isTypeOnly,
995 … nodeVisitor((<ExportDeclaration>node).exportClause, visitor, isNamedExportBindings),
996 nodeVisitor((<ExportDeclaration>node).moduleSpecifier, visitor, isExpression));
Dtypes.ts316 ExportDeclaration, enumerator
915 | ExportDeclaration
990 | ExportDeclaration
3021 readonly parent: ExportDeclaration;
3032 export interface ExportDeclaration extends DeclarationStatement, JSDocContainer {
3033 readonly kind: SyntaxKind.ExportDeclaration;
3050 readonly parent: ExportDeclaration;
4512 export type AnyImportOrReExport = AnyImportSyntax | ExportDeclaration;
4521 | (ImportDeclaration | ExportDeclaration) & { moduleSpecifier: StringLiteral }
4654 …laration(declaration: ImportEqualsDeclaration | ImportDeclaration | ExportDeclaration | ModuleDecl…
[all …]
Dbinder.ts59 case SyntaxKind.ExportDeclaration:
60 const exportDeclaration = node as ExportDeclaration;
378 case SyntaxKind.ExportDeclaration:
2732 case SyntaxKind.ExportDeclaration:
2733 return bindExportDeclaration(<ExportDeclaration>node);
2833 function bindExportDeclaration(node: ExportDeclaration) {
/third_party/typescript/src/services/codefixes/
DconvertToEs6Module.ts316 function reExportStar(moduleSpecifier: string): ExportDeclaration {
319 function reExportDefault(moduleSpecifier: string): ExportDeclaration {
577 …ion(exportSpecifiers: ExportSpecifier[] | undefined, moduleSpecifier?: string): ExportDeclaration {
/third_party/typescript/src/testRunner/unittests/
Dtransform.ts254 if (node.kind === SyntaxKind.ExportDeclaration) {
255 const ed = node as Node as ExportDeclaration;
/third_party/typescript/lib/
Dtypescript.d.ts377 ExportDeclaration = 270, enumerator
567 …tion | FunctionTypeNode | ConstructorTypeNode | JSDocFunctionType | ExportDeclaration | NamedTuple…
1650 readonly parent: ExportDeclaration;
1657 export interface ExportDeclaration extends DeclarationStatement, JSDocContainer { interface
1658 readonly kind: SyntaxKind.ExportDeclaration;
1673 readonly parent: ExportDeclaration;
3472 …n, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression): ExportDeclaration;
3473ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | …
3630 createExternalModuleExport(exportName: Identifier): ExportDeclaration;
4506 function isExportDeclaration(node: Node): node is ExportDeclaration;
[all …]
DtypescriptServices.d.ts377 ExportDeclaration = 270, enumerator
567 …tion | FunctionTypeNode | ConstructorTypeNode | JSDocFunctionType | ExportDeclaration | NamedTuple…
1650 readonly parent: ExportDeclaration;
1657 export interface ExportDeclaration extends DeclarationStatement, JSDocContainer { interface
1658 readonly kind: SyntaxKind.ExportDeclaration;
1673 readonly parent: ExportDeclaration;
3472 …n, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression): ExportDeclaration;
3473ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | …
3630 createExternalModuleExport(exportName: Identifier): ExportDeclaration;
4506 function isExportDeclaration(node: Node): node is ExportDeclaration;
[all …]

12