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

Function createInstruction

test/fixtures/snapshot/typescript.js:103788–103792  ·  view source on GitHub ↗

* Creates a numeric literal for the provided instruction.

(instruction)

Source from the content-addressed store, hash-verified

103786 * Creates a numeric literal for the provided instruction.
103787 */
103788 function createInstruction(instruction) {
103789 var literal = factory.createNumericLiteral(instruction);
103790 ts.addSyntheticTrailingComment(literal, 3 /* SyntaxKind.MultiLineCommentTrivia */, getInstructionName(instruction));
103791 return literal;
103792 }
103793 /**
103794 * Creates a statement that can be used indicate a Break operation to the provided label.
103795 *

Callers 9

createInlineBreakFunction · 0.85
createInlineReturnFunction · 0.85
writeReturnFunction · 0.85
writeBreakFunction · 0.85
writeBreakWhenTrueFunction · 0.85
writeBreakWhenFalseFunction · 0.85
writeYieldFunction · 0.85
writeYieldStarFunction · 0.85
writeEndfinallyFunction · 0.85

Calls 1

getInstructionNameFunction · 0.85

Tested by

no test coverage detected