⬅️ Back to Table of Contents
📄 spec.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
5 |
📐 Interfaces |
3 |
📑 Type Aliases |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/ast-spec/src/special/ExportSpecifier/spec.ts
📦 Imports
Name |
Source |
AST_NODE_TYPES |
../../ast-node-types |
BaseNode |
../../base/BaseNode |
ExportKind |
../../declaration/ExportAndImportKind |
Identifier |
../../expression/Identifier/spec |
StringLiteral |
../../expression/literal/StringLiteral/spec |
Interfaces
ExportSpecifierBase
Interface Code
interface ExportSpecifierBase extends BaseNode {
type: AST_NODE_TYPES.ExportSpecifier;
exported: Identifier | StringLiteral;
exportKind: ExportKind;
local: Identifier | StringLiteral;
}
Properties
Name |
Type |
Optional |
Description |
type |
AST_NODE_TYPES.ExportSpecifier |
✗ |
|
exported |
Identifier | StringLiteral |
✗ |
|
exportKind |
ExportKind |
✗ |
|
local |
Identifier | StringLiteral |
✗ |
|
ExportSpecifierWithIdentifierLocal
Interface Code
export interface ExportSpecifierWithIdentifierLocal
extends ExportSpecifierBase {
local: Identifier;
}
Properties
Name |
Type |
Optional |
Description |
local |
Identifier |
✗ |
|
ExportSpecifierWithStringOrLiteralLocal
Interface Code
export interface ExportSpecifierWithStringOrLiteralLocal
extends ExportSpecifierBase {
local: Identifier | StringLiteral;
}
Properties
Name |
Type |
Optional |
Description |
local |
Identifier | StringLiteral |
✗ |
|
Type Aliases
ExportSpecifier
type ExportSpecifier = | ExportSpecifierWithIdentifierLocal
| ExportSpecifierWithStringOrLiteralLocal;