MCPcopy Create free account
hub / github.com/nodejs/node / serializeQualifiedNameAsExpression

Function serializeQualifiedNameAsExpression

test/fixtures/snapshot/typescript.js:93038–93040  ·  view source on GitHub ↗

* Serializes an qualified name as an expression for decorator type metadata. * * @param node The qualified name to serialize. * @param useFallback A value indicating whether to use logical operators to test for the * qualified name at runtime.

(node)

Source from the content-addressed store, hash-verified

93036 * qualified name at runtime.
93037 */
93038 function serializeQualifiedNameAsExpression(node) {
93039 return factory.createPropertyAccessExpression(serializeEntityNameAsExpression(node.left), node.right);
93040 }
93041 /**
93042 * Gets an expression that points to the global "Symbol" constructor at runtime if it is
93043 * available.

Callers 1

Calls 1

Tested by

no test coverage detected