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

Function createBaseToken

test/fixtures/snapshot/typescript.js:23030–23032  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

23028 // Punctuation
23029 //
23030 function createBaseToken(kind) {
23031 return baseFactory.createBaseTokenNode(kind);
23032 }
23033 function createToken(token) {
23034 ts.Debug.assert(token >= 0 /* SyntaxKind.FirstToken */ && token <= 160 /* SyntaxKind.LastToken */, "Invalid token");
23035 ts.Debug.assert(token <= 14 /* SyntaxKind.FirstTemplateToken */ || token >= 17 /* SyntaxKind.LastTemplateToken */, "Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals.");

Callers 3

createBaseLiteralFunction · 0.85
createTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected