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

Function checkStrictModeFunctionName

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

Source from the content-addressed store, hash-verified

46641 return ts.Diagnostics.Invalid_use_of_0_in_strict_mode;
46642 }
46643 function checkStrictModeFunctionName(node) {
46644 if (inStrictMode) {
46645 // It is a SyntaxError if the identifier eval or arguments appears within a FormalParameterList of a strict mode FunctionDeclaration or FunctionExpression (13.1))
46646 checkStrictModeEvalOrArguments(node, node.name);
46647 }
46648 }
46649 function getStrictModeBlockScopeFunctionDeclarationMessage(node) {
46650 // Provide specialized messages to help the user understand why we think they're in
46651 // strict mode.

Callers 2

bindFunctionDeclarationFunction · 0.85
bindFunctionExpressionFunction · 0.85

Calls 1

Tested by

no test coverage detected