blob: 041fb84a71cc5e05759825d05b59cac104587873 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
function txt=%equal_string(e)
//overloading function for "equal" type tlist string function
//this is a node of the AST
//fields:
// expression: "expression" type tlist (the right hand side)
// lhs : list of "variable" type tlist and "operation" type tlist // (the assignment)
// endsymbol : string (the orginal end-of-instruction symbol (, ; <CR>))
txt=['Equal'
' Expression: '
' '+string(e.expression)
' Lhs : '
' '+objectlist2string(e.lhs)
'EndEqual'
]
endfunction
|