Annotation of parser3/tests/258.html, revision 1.1

1.1     ! moko        1: @main[]
        !             2: 
        !             3: 1. Object constructor returning object.
        !             4: ^print[^test::create[;value for object]]
        !             5: 2. Object constructor returning hash.
        !             6: ^print[^test::create[hash;value for hash]]
        !             7: 
        !             8: 3. Reflection returning object.
        !             9: ^print[^reflection:create[test;create;;value for object]]
        !            10: 4. Reflection returning hash.
        !            11: ^print[^reflection:create[test;create;hash;value for hash]]
        !            12: 
        !            13: 
        !            14: @print[o]
        !            15: Class:$o.CLASS_NAME
        !            16: Type property:$o.type
        !            17: Value property:$o.value
        !            18: 
        !            19: @CLASS
        !            20: test
        !            21: 
        !            22: @create[kind;v]
        !            23: 
        !            24: ^if($kind eq 'hash'){
        !            25:        $result[^hash::create[
        !            26:                $.type[hash]
        !            27:                $.value[$v]
        !            28:        ]]
        !            29: }{
        !            30:        $result[$self]
        !            31:        $type[object]
        !            32:        $value[$v]
        !            33: }

E-mail: