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

Function parseTypeOperator

test/fixtures/snapshot/typescript.js:34107–34111  ·  view source on GitHub ↗
(operator)

Source from the content-addressed store, hash-verified

34105 return type;
34106 }
34107 function parseTypeOperator(operator) {
34108 var pos = getNodePos();
34109 parseExpected(operator);
34110 return finishNode(factory.createTypeOperatorNode(operator, parseTypeOperatorOrHigher()), pos);
34111 }
34112 function tryParseConstraintOfInferType() {
34113 if (parseOptional(94 /* SyntaxKind.ExtendsKeyword */)) {
34114 var constraint = disallowConditionalTypesAnd(parseType);

Callers 1

Calls 4

getNodePosFunction · 0.85
parseExpectedFunction · 0.85
finishNodeFunction · 0.85

Tested by

no test coverage detected