diff options
author | siddhu8990 | 2017-05-04 20:07:20 +0530 |
---|---|---|
committer | siddhu8990 | 2017-05-04 20:07:20 +0530 |
commit | f0e074cc43f04f58aafe00742b9748a09f77894f (patch) | |
tree | 7202977ebe3a3043a1ecfbafb1daf5f129353cbf /macros/ASTManagement/_operation_string.sci | |
parent | c7e9597db39140c1d982f796a8e1f03bb54e7905 (diff) | |
download | scilab2c-f0e074cc43f04f58aafe00742b9748a09f77894f.tar.gz scilab2c-f0e074cc43f04f58aafe00742b9748a09f77894f.tar.bz2 scilab2c-f0e074cc43f04f58aafe00742b9748a09f77894f.zip |
Toolbox working with scilab 6.0
Diffstat (limited to 'macros/ASTManagement/_operation_string.sci')
-rw-r--r-- | macros/ASTManagement/_operation_string.sci | 13 |
1 files changed, 13 insertions, 0 deletions
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 |