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

Function createStringLiteralFromNode

test/fixtures/snapshot/typescript.js:22920–22924  ·  view source on GitHub ↗
(sourceNode)

Source from the content-addressed store, hash-verified

22918 }
22919 // @api
22920 function createStringLiteralFromNode(sourceNode) {
22921 var node = createBaseStringLiteral(ts.getTextOfIdentifierOrLiteral(sourceNode), /*isSingleQuote*/ undefined);
22922 node.textSourceNode = sourceNode;
22923 return node;
22924 }
22925 // @api
22926 function createRegularExpressionLiteral(text) {
22927 var node = createBaseLiteral(13 /* SyntaxKind.RegularExpressionLiteral */, text);

Callers

nothing calls this directly

Calls 1

createBaseStringLiteralFunction · 0.85

Tested by

no test coverage detected