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

Function CheckFastAllScopes

deps/v8/test/debugger/debug/debug-scopes.js:88–97  ·  view source on GitHub ↗
(scopes, exec_state)

Source from the content-addressed store, hash-verified

86}
87
88function CheckFastAllScopes(scopes, exec_state)
89{
90 var fast_all_scopes = exec_state.frame().allScopes(true);
91 var length = fast_all_scopes.length;
92 assertTrue(scopes.length >= length);
93 for (var i = 0; i < scopes.length && i < length; i++) {
94 var scope = fast_all_scopes[length - i - 1];
95 assertEquals(scopes[scopes.length - i - 1], scope.scopeType());
96 }
97}
98
99
100// Check that the scope chain contains the expected types of scopes.

Callers 1

CheckScopeChainFunction · 0.70

Calls 3

allScopesMethod · 0.80
assertTrueFunction · 0.50
assertEqualsFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…