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-LAZY_BINARY.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 trace-template-for-LAZY_BINARY.js (limited to 'trace-template-for-LAZY_BINARY.js') diff --git a/trace-template-for-LAZY_BINARY.js b/trace-template-for-LAZY_BINARY.js new file mode 100644 index 00000000..256b5dcb --- /dev/null +++ b/trace-template-for-LAZY_BINARY.js @@ -0,0 +1,8 @@ +tracing.record_lazy_binary( + /*line**/LINE_NUMBER/**/, + /*col**/COL_NUMBER/**/, + "/*operator*/", + (a, b) => a /*operator**/|| b(), + () => (/*left**/LEFT_OPERAND/**/), + () => (/*right**/RIGHT_OPERAND/**/) +) -- cgit v1.2.3