Annotation of parser3/tests/332.html, revision 1.1
1.1 ! moko 1: @main[][local]
! 2:
! 3: $t[^table::create{c1 c2
! 4: v1 v2}]
! 5:
! 6: $d[_default]
! 7:
! 8: $h[^hash::create[
! 9: $.a[a]
! 10: $.$d[empty]
! 11: ]]
! 12:
! 13: #works
! 14: $f[fields]
! 15: t.fields:^json:string[$t.$f]
! 16: h.fields:^json:string[$h.$f]
! 17:
! 18: #should not work
! 19: $f[lds] $f[fie$f]
! 20: t.fields:^try-catch{^json:string[$t.$f]}
! 21: h.fields:^json:string[$h.$f]
! 22:
! 23: #works
! 24: 404:$h.404
! 25:
! 26: #should not work
! 27: $d[_] $d[${d}default]
! 28:
! 29: $h[^hash::create[
! 30: $.a[a]
! 31: $.$d[empty]
! 32: ]]
! 33:
! 34: 404:$h.404
! 35:
! 36: $test[test]
! 37: $local[local]
! 38: ^method[]
! 39:
! 40: @method[]
! 41: #works
! 42: $c[caller]
! 43: local:$local
! 44: caller local:$$c.local
! 45:
! 46: $s[self]
! 47: test:$$s.test
! 48:
! 49: #should not work
! 50: $c[r] $c[calle$c]
! 51:
! 52: caller local:$$c.local
! 53:
! 54: $s[f] $s[sel$s]
! 55:
! 56: test:$$s.test
E-mail: