Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ check_syntax.js
File
check_syntax.js
lib/internal/main/check_syntax.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
'use strict'
;
2
3
// If user passed `-c` or `--check` arguments to Node, check its syntax
4
// instead of actually running the file.
Callers
nothing calls this directly
Calls
8
prepareMainThreadExecution
Function · 0.85
markBootstrapComplete
Function · 0.85
loadESMIfNeeded
Function · 0.85
checkSyntax
Function · 0.85
readStdin
Function · 0.85
require
Function · 0.50
resolve
Method · 0.45
readFileSync
Method · 0.45
Tested by
no test coverage detected