| 1 |
DSL EXPRESSION: |
| 2 |
for(k,v in $*) {$[k."_orig"]=v; $[k] = "other"} |
| 3 |
|
| 4 |
|
| 5 |
AST: |
| 6 |
"block" [tt:block] [nt:StatementBlock] |
| 7 |
"for" [tt:kw_for] [nt:ForLoopTwoVariable] |
| 8 |
"k" [tt:non_sigil_name] [nt:LocalVariable] |
| 9 |
"v" [tt:non_sigil_name] [nt:LocalVariable] |
| 10 |
"$*" [tt:full_srec] [nt:FullSrec] |
| 11 |
"block" [tt:block] [nt:StatementBlockInBraces] |
| 12 |
"block" [tt:block] [nt:StatementBlock] |
| 13 |
"=" [tt:equals] [nt:Assignment] |
| 14 |
"$[]" [tt:$[]] [nt:IndirectFieldValue] |
| 15 |
"." [tt:op_dot] [nt:DotOperator] |
| 16 |
"k" [tt:non_sigil_name] [nt:LocalVariable] |
| 17 |
""_orig"" [tt:string_literal] [nt:string_literal] |
| 18 |
"v" [tt:non_sigil_name] [nt:LocalVariable] |
| 19 |
"=" [tt:equals] [nt:Assignment] |
| 20 |
"$[]" [tt:$[]] [nt:IndirectFieldValue] |
| 21 |
"k" [tt:non_sigil_name] [nt:LocalVariable] |
| 22 |
""other"" [tt:string_literal] [nt:string_literal] |
| 23 |
|
| 24 |
a b i x y a_orig b_orig i_orig x_orig y_orig |
| 25 |
other other other other other pan pan 1 0.34679014 0.72680286 |
| 26 |
other other other other other eks pan 2 0.75867996 0.52215111 |
| 27 |
other other other other other wye wye 3 0.20460331 0.33831853 |
| 28 |
other other other other other eks wye 4 0.38139939 0.13418874 |
| 29 |
other other other other other wye pan 5 0.57328892 0.86362447 |
| 30 |
other other other other other zee pan 6 0.52712616 0.49322129 |
| 31 |
other other other other other eks zee 7 0.61178406 0.18788492 |
| 32 |
other other other other other zee wye 8 0.59855401 0.97618139 |
| 33 |
other other other other other hat wye 9 0.03144188 0.74955076 |
| 34 |
other other other other other pan wye 10 0.50262601 0.95261836 |