Annotation of parser3/tests/427.html, revision 1.1
1.1 ! moko 1: Constructors as methods:
! 2:
! 3: $t[^table::create{data
! 4: data1
! 5: data2}]
! 6:
! 7: 1. table cleared: ^t.create{} ^json:string[$t]
! 8:
! 9: $h[ $.1[1] $.2[2] ]
! 10:
! 11: 2. hash kept: ^h.create[] ^json:string[$h]
! 12: or added : ^h.create[ $.3[3] ] ^json:string[$h]
! 13: or ignored ^h.create[$h] ^json:string[$h]
! 14:
! 15: $a[1;2]
! 16:
! 17: 3. array kept: ^a.create[] ^json:string[$a]
! 18: or added: ^a.create[ $.3[3] ] ^json:string[$a]
! 19: or fail: ^try-catch{ ^a.create[$a] }
! 20: 4. array kept: ^a.new[] ^json:string[$a]
! 21: or added: ^a.new[4] ^json:string[$a]
! 22: or nested: ^a.new[$a] ^try-catch{ ^json:string[$a] }
E-mail: