From f0e074cc43f04f58aafe00742b9748a09f77894f Mon Sep 17 00:00:00 2001
From: siddhu8990
Date: Thu, 4 May 2017 20:07:20 +0530
Subject: Toolbox working with scilab 6.0

---
 macros/ASTManagement/%operation_string.sci | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 macros/ASTManagement/%operation_string.sci

(limited to 'macros/ASTManagement/%operation_string.sci')

diff --git a/macros/ASTManagement/%operation_string.sci b/macros/ASTManagement/%operation_string.sci
new file mode 100644
index 00000000..84f5ce3c
--- /dev/null
+++ b/macros/ASTManagement/%operation_string.sci
@@ -0,0 +1,13 @@
+function txt=%operation_string(O)
+//overloading function for "operation" type tlist string function
+//this is a node of the AST
+//fields:
+//     operands: a list
+//     operator: a string
+  txt=['Operation'
+       '   Operands:'
+       '      '+objectlist2string(O.operands)
+       '   Operator: '+O.operator
+       'EndOperation'
+      ]
+endfunction
\ No newline at end of file
-- 
cgit