aboutsummaryrefslogtreecommitdiff
path: root/trace-template-for-CALL.old.js
diff options
context:
space:
mode:
Diffstat (limited to 'trace-template-for-CALL.old.js')
-rw-r--r--trace-template-for-CALL.old.js10
1 files changed, 10 insertions, 0 deletions
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/**/)