MCPcopy Create free account
hub / github.com/microsoft/typescript-go / IsImportOrExportSpecifier

Function IsImportOrExportSpecifier

internal/ast/utilities.go:1328–1330  ·  view source on GitHub ↗
(node *Node)

Source from the content-addressed store, hash-verified

1326}
1327
1328func IsImportOrExportSpecifier(node *Node) bool {
1329 return IsImportSpecifier(node) || IsExportSpecifier(node)
1330}
1331
1332func IsVoidZero(node *Node) bool {
1333 return IsVoidExpression(node) && IsNumericLiteral(node.Expression()) && node.Expression().Text() == "0"

Callers 6

isValidReferencePositionFunction · 0.92
getSymbolAtLocationMethod · 0.92

Calls 2

IsImportSpecifierFunction · 0.85
IsExportSpecifierFunction · 0.85

Tested by

no test coverage detected