Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/jquery/esprima
/ tolerate
Method
tolerate
src/error-handler.ts:26–32 ·
view source on GitHub ↗
(error)
Source
from the content-addressed store, hash-verified
24
}
25
26
tolerate(error): void {
27
if
(this.tolerant) {
28
this.recordError(error);
29
}
else
{
30
throw error;
31
}
32
}
33
34
constructError(msg: string, column: number): Error {
35
let
error =
new
Error(msg);
Callers
2
tolerateUnexpectedToken
Method · 0.80
tokenize
Function · 0.80
Calls
1
recordError
Method · 0.95
Tested by
no test coverage detected