blob: 2de021d926102cdb791907a1b0e0c85cce1e2212 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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'
]
<<<<<<< HEAD
endfunction
=======
endfunction
>>>>>>> 9e5793a7b05b23e6044a6d7a9ddd5db39ba375f0
|