(es: ast.ExportSpecifier)
| 379 | }) |
| 380 | |
| 381 | const parseExportSpecifier = (es: ast.ExportSpecifier) => |
| 382 | Effect.gen(function*() { |
| 383 | const name = es.compilerNode.name.text |
| 384 | const type = parseType(es) |
| 385 | const oDocComment = getDocComment(es.getLeadingCommentRanges()) |
| 386 | const doc = Option.isSome(oDocComment) ? parseDoc(oDocComment.value.getText()) : parseDoc("") |
| 387 | const signature = `declare const ${name}: ${type}` |
| 388 | const position = yield* parsePosition(es) |
| 389 | return new Domain.Export( |
| 390 | name, |
| 391 | doc, |
| 392 | signature, |
| 393 | position, |
| 394 | false |
| 395 | ) |
| 396 | }) |
| 397 | |
| 398 | const parseExportStar = (ed: ast.ExportDeclaration) => |
| 399 | Effect.gen(function*() { |
nothing calls this directly
no test coverage detected