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

Function checkStrictModeWithStatement

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

Source from the content-addressed store, hash-verified

46693 }
46694 }
46695 function checkStrictModeWithStatement(node) {
46696 // Grammar checking for withStatement
46697 if (inStrictMode) {
46698 errorOnFirstToken(node, ts.Diagnostics.with_statements_are_not_allowed_in_strict_mode);
46699 }
46700 }
46701 function checkStrictModeLabeledStatement(node) {
46702 // Grammar checking for labeledStatement
46703 if (inStrictMode && ts.getEmitScriptTarget(options) >= 2 /* ScriptTarget.ES2015 */) {

Callers 1

bindWorkerFunction · 0.85

Calls 1

errorOnFirstTokenFunction · 0.85

Tested by

no test coverage detected