Annotation of parser3/tests/287.html, revision 1.2

1.1       moko        1: @main[]
                      2: 
                      3: $h[
                      4:        $.a[$.b[c]]
                      5:        $.object[^my::create[]]
                      6: ]
                      7: 
                      8: ^json:string[$h;
                      9:        $.indent(true)
                     10:        $.my[$handler]
                     11: ]
                     12: 
                     13: ^json:string[$h;
                     14:        $.indent(true)
                     15: ]
                     16: 
1.2     ! moko       17: $x[^xdoc::create{<?xml version="1.0"?><r><t z="1"/></r>}]
        !            18: 
        !            19: ^json:string[$x.documentElement; $.skip-unknown(true) ]
        !            20: ^try-catch{ ^json:string[$x.documentElement] }
        !            21: 
1.1       moko       22: 
                     23: 
                     24: @handler[k;v;p]
                     25: {
                     26: $p.indent      "o":"at key $k, with ^p._count[] options",
                     27: $p.indent      "h":^json:string[$v.h;$.indent[$p.indent        ]]
                     28: $p.indent}
                     29: 
                     30: @CLASS
                     31: my
                     32: 
                     33: @create[]
                     34: $o[placeholder]
                     35: $h[ $.a[b] $.c[d] ]

E-mail: