Annotation of parser3/tests/463.html, revision 1.1
1.1 ! moko 1: # a constructor called as a method of a created object
! 2: @main[]
! 3: $d[^date::create(2001;1;1)]
! 4: ^d.create(2002;2;2)
! 5: 1. date: ^d.sql-string[]
! 6:
! 7: $t[^table::create{a^#0A1}]
! 8: ^t.create{b^#0A2^#0A3}
! 9: 2. table: ^t.count[] $t.b
! 10:
! 11: $h[^hash::create[ $.a(1) ]]
! 12: ^h.create[ $.b(2) ]
! 13: 3. hash: ^json:string[$h]
! 14:
! 15: $a[^array::create[a;b]]
! 16: ^a.create[c]
! 17: 4. array: ^json:string[$a]
! 18:
! 19: $f[^file::create[text;a.txt;first]]
! 20: ^f.create[text;b.txt;second]
! 21: 5. file: $f.name $f.text
! 22:
! 23: $i[^image::create(1;1)]
! 24: ^i.create(2;3)
! 25: 6. image: $i.width x $i.height
! 26:
! 27: $x[^xdoc::create{<a/>}]
! 28: ^x.create{<b/>}
! 29: 7. xdoc: $x.documentElement.nodeName
! 30:
! 31: $s[abc]
! 32: $r[^regex::create[(a)]]
! 33: $m[^s.match[$r]]
! 34: ^r.create[(a)(b)(c)]
! 35: $m[^s.match[$r]]
! 36: 8. regex: $m.1 $m.2 $m.3
! 37:
! 38: $hf[^hashfile::open[463_a]]
! 39: 9. hashfile: ^try-catch{^hf.open[463_b]}
! 40: $hf.k[in a]
! 41: $v[$hf.k]
! 42: 10. still opened: $v
! 43: ^hf.delete[]
E-mail: