From d761f509f2e0ea2503f7f75014e396cb6bb26802 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 14 Feb 2024 23:13:36 +0100 Subject: Initial commit. --- trace-template-for-CALL.old.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 trace-template-for-CALL.old.js (limited to 'trace-template-for-CALL.old.js') diff --git a/trace-template-for-CALL.old.js b/trace-template-for-CALL.old.js new file mode 100644 index 00000000..34d1be25 --- /dev/null +++ b/trace-template-for-CALL.old.js @@ -0,0 +1,10 @@ +(functionObject => + ((...traced_args) => tracing.record_call_end( + tracing.record_call_start( + /*line**/LINE_NUMBER/**/, + /*col**/COL_NUMBER/**/, + ...traced_args), + () => (functionObject/*optional*/(...traced_args)) + )) + /*parented_args**/(...COMMA_SEPARATED_ARGS)/**/) +(/*expression**/FUN_EXPR/**/) -- cgit v1.2.3