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

Function isProcessedComponent

test/fixtures/snapshot/typescript.js:109408–109431  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

109406 return false;
109407 }
109408 function isProcessedComponent(node) {
109409 switch (node.kind) {
109410 case 175 /* SyntaxKind.ConstructSignature */:
109411 case 171 /* SyntaxKind.Constructor */:
109412 case 169 /* SyntaxKind.MethodDeclaration */:
109413 case 172 /* SyntaxKind.GetAccessor */:
109414 case 173 /* SyntaxKind.SetAccessor */:
109415 case 167 /* SyntaxKind.PropertyDeclaration */:
109416 case 166 /* SyntaxKind.PropertySignature */:
109417 case 168 /* SyntaxKind.MethodSignature */:
109418 case 174 /* SyntaxKind.CallSignature */:
109419 case 176 /* SyntaxKind.IndexSignature */:
109420 case 254 /* SyntaxKind.VariableDeclaration */:
109421 case 163 /* SyntaxKind.TypeParameter */:
109422 case 228 /* SyntaxKind.ExpressionWithTypeArguments */:
109423 case 178 /* SyntaxKind.TypeReference */:
109424 case 189 /* SyntaxKind.ConditionalType */:
109425 case 179 /* SyntaxKind.FunctionType */:
109426 case 180 /* SyntaxKind.ConstructorType */:
109427 case 200 /* SyntaxKind.ImportType */:
109428 return true;
109429 }
109430 return false;
109431 }
109432})(ts || (ts = {}));
109433/* @internal */
109434var ts;

Callers 1

visitDeclarationSubtreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected