Lines Matching refs:function
9 function RunTest(name, formals_and_body, args, handler, continuation) {
13 function listener(event, exec_state, event_data, data) {
24 function run(thunk) {
36 var fun = Function.apply(null, formals_and_body);
37 var gen = (function*(){}).constructor.apply(null, formals_and_body);
41 run(function () { return fun.apply(null, args) });
42 run(function () { return gen.apply(null, args).next().value });
49 function assertScopeMirrorEquals(scope1, scope2) {
56 function CheckFastAllScopes(scopes, exec_state) {
68 function CheckScopeChain(scopes, exec_state) {
114 // that there is a function.
115 function CheckScopeContent(content, number, exec_state) {
121 if (typeof(content[p]) === 'function') {
179 function (exec_state) {
189 function (exec_state) {
199 function (exec_state) {
209 function (exec_state) {
219 function (exec_state) {
229 function (exec_state) {
243 function (exec_state) {
253 function (exec_state) {
262 // Simple closure formed by returning an inner function referering the outer
265 ['a', 'return function() { debugger; return a; }'],
267 function (exec_state) {
273 function (result) { result() });
281 "function f(a, b) {\n" +
287 " return function() {\n" +
301 function (exec_state) {
314 CheckScopeContent({a:1,b:2,x:3,y:4,i:5,j:6,f:function(){}}, 5, exec_state);
316 function (result) { result() });
321 function (exec_state) {