summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ASTManagement/_operatio_string.sci
blob: e9332337c657e65dc703f623c59804684f553d10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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