summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ASTManagement/_operatio_string.sci
blob: 76753868752ab9cc75ccb04e023678ccbf1c06b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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'
      ]
<<<<<<< HEAD
endfunction
=======
endfunction
>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0