aboutsummaryrefslogtreecommitdiff
path: root/trace-template-for-CALL.js
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2024-02-14 23:13:36 +0100
committerWojtek Kosior <koszko@koszko.org>2024-02-14 23:19:19 +0100
commitd761f509f2e0ea2503f7f75014e396cb6bb26802 (patch)
treeb36d65029f5305781e73ce629517103a2cbd179d /trace-template-for-CALL.js
downloadtracifyjs-apprentice.tar.gz
tracifyjs-apprentice.zip
Initial commit.HEADapprentice
Diffstat (limited to 'trace-template-for-CALL.js')
-rw-r--r--trace-template-for-CALL.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/trace-template-for-CALL.js b/trace-template-for-CALL.js
new file mode 100644
index 00000000..f1592d3b
--- /dev/null
+++ b/trace-template-for-CALL.js
@@ -0,0 +1,7 @@
+tracing.record_call(
+ /*line**/LINE_NUMBER/**/,
+ /*col**/COL_NUMBER/**/,
+ () => (/*expression**/FUN_EXPR/**/),
+ "/*optional*/",
+ () => ((...args) => args)/*parented_args**/(...COMMA_SEPARATED_ARGS)
+)