MCPcopy Index your code
hub / github.com/nodejs/node / visitExportAssignment

Function visitExportAssignment

test/fixtures/snapshot/typescript.js:93873–93878  ·  view source on GitHub ↗

* Visits an export assignment, eliding it if it does not contain a clause that resolves * to a value. * * @param node The export assignment node.

(node)

Source from the content-addressed store, hash-verified

93871 * @param node The export assignment node.
93872 */
93873 function visitExportAssignment(node) {
93874 // Elide the export assignment if it does not reference a value.
93875 return resolver.isValueAliasDeclaration(node)
93876 ? ts.visitEachChild(node, visitor, context)
93877 : undefined;
93878 }
93879 /**
93880 * Visits an export declaration, eliding it if it does not contain a clause that resolves to a value.
93881 *

Callers 3

visitElidableStatementFunction · 0.85
topLevelVisitorFunction · 0.85
visitorFunction · 0.85

Calls 3

appendExportStatementFunction · 0.85
createExportStatementFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…