aboutsummaryrefslogtreecommitdiff
path: root/trace-template-for-PROPERTY_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-PROPERTY_CALL.js
downloadtracifyjs-d761f509f2e0ea2503f7f75014e396cb6bb26802.tar.gz
tracifyjs-d761f509f2e0ea2503f7f75014e396cb6bb26802.zip
Initial commit.HEADapprentice
Diffstat (limited to 'trace-template-for-PROPERTY_CALL.js')
-rw-r--r--trace-template-for-PROPERTY_CALL.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/trace-template-for-PROPERTY_CALL.js b/trace-template-for-PROPERTY_CALL.js
new file mode 100644
index 00000000..a4471215
--- /dev/null
+++ b/trace-template-for-PROPERTY_CALL.js
@@ -0,0 +1,9 @@
+tracing.record_prop_call(
+ /*line**/LINE_NUMBER/**/,
+ /*col**/COL_NUMBER/**/,
+ () => (/*this_expression**/OBJ_EXPR/**/),
+ "/*property_optional*/",
+ () => (/*property_expression**/"PROP_NAME"/**/),
+ "/*optional*/",
+ () => ((...args) => args)/*parented_args**/(...COMMA_SEPARATED_ARGS)
+)