Annotation of parser3/tests/134.html, revision 1.3
1.2 paf 1: @main[]
1.3 ! moko 2:
! 3: Update current:
! 4: ^action{
! 5: $hash.a[-]
! 6: }
! 7:
! 8: Insert:
! 9: ^action{
! 10: $hash.d[4]
! 11: }
! 12:
! 13: Delete current:
! 14: ^action{
! 15: ^hash.delete[a]
! 16: }
! 17:
! 18: Delete before current:
! 19: ^action{
! 20: ^if($key eq 'b'){
! 21: delete: ^hash.delete[a]
1.2 paf 22: }
23: }
24:
1.3 ! moko 25: Delete after current:
! 26: ^action{
! 27: ^hash.delete[b]
! 28: }
! 29:
! 30: @action[code]
! 31:
1.2 paf 32: $hash[
33: $.a[1]
34: $.b[2]
1.3 ! moko 35: $.c[3]
1.2 paf 36: ]
1.3 ! moko 37:
1.2 paf 38: ^hash.foreach[key;value]{
1.3 ! moko 39: $code
! 40: $key -> $value
! 41: }
1.2 paf 42:
1.3 ! moko 43: ^json:string[$hash; $.indent(true) ]
E-mail: