diff options
author | jofret | 2009-05-05 13:52:15 +0000 |
---|---|---|
committer | jofret | 2009-05-05 13:52:15 +0000 |
commit | 83c68889eff40411bbef50df0904f3585ed9e2b7 (patch) | |
tree | 16fb9d67c603e867e10f675a6e5fb8c3bb58b41f /macros/ASTManagement/%operatio_string.sci | |
parent | b11350b841069ef8db155516a310eb7523c5e183 (diff) | |
download | scilab2c-83c68889eff40411bbef50df0904f3585ed9e2b7.tar.gz scilab2c-83c68889eff40411bbef50df0904f3585ed9e2b7.tar.bz2 scilab2c-83c68889eff40411bbef50df0904f3585ed9e2b7.zip |
Split into several files
Diffstat (limited to 'macros/ASTManagement/%operatio_string.sci')
-rw-r--r-- | macros/ASTManagement/%operatio_string.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/macros/ASTManagement/%operatio_string.sci b/macros/ASTManagement/%operatio_string.sci new file mode 100644 index 00000000..8421a3f4 --- /dev/null +++ b/macros/ASTManagement/%operatio_string.sci @@ -0,0 +1,13 @@ +function txt=%operatio_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 |