MCPcopy Index your code
hub / github.com/microsoft/typescript-go / parseExportSpecifier

Method parseExportSpecifier

internal/parser/parser.go:2599–2607  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2597}
2598
2599func (p *Parser) parseExportSpecifier() *ast.Node {
2600 pos := p.nodePos()
2601 jsdoc := p.jsdocScannerInfo()
2602 isTypeOnly, propertyName, name := p.parseImportOrExportSpecifier(ast.KindExportSpecifier)
2603 result := p.finishNode(p.factory.NewExportSpecifier(isTypeOnly, propertyName, name), pos)
2604 p.withJSDoc(result, jsdoc)
2605 p.checkJSSyntax(result)
2606 return result
2607}
2608
2609// TYPES
2610

Callers

nothing calls this directly

Calls 7

nodePosMethod · 0.95
jsdocScannerInfoMethod · 0.95
finishNodeMethod · 0.95
withJSDocMethod · 0.95
checkJSSyntaxMethod · 0.95
NewExportSpecifierMethod · 0.80

Tested by

no test coverage detected