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

1.1     ! misha       1: @USE
        !             2: 224.p
        !             3: 
        !             4: 
        !             5: @main[]
        !             6: $h[^reflection:classes[]]
        !             7: $hi[^h.intersection[
        !             8:        $.hash[]
        !             9:        $.env[]
        !            10:        $.cookie[]
        !            11:        $.table[]
        !            12:        $.test[]
        !            13:        $.test1[]
        !            14:        $.test2[]
        !            15: ]]
        !            16: ^hi.foreach[k;v]{$k^if(def $v){ - $v}}[<br />]
        !            17: <hr />
        !            18: 
        !            19: ^do{$d[^reflection:create[date;create]]}
        !            20: ^do{$d[^reflection:create[date;calendar]]}
        !            21: ^do{$d[^reflection:create[date;now](-2;1)]}
        !            22: ^do{$d[^reflection:create[date;now](-2)]}
        !            23: 
        !            24: ^do{$o[^reflection:create[test;create](-1)]}
        !            25: ^do{$o1[^reflection:create[test1;create1](1)]}
        !            26: ^do{$o2[^reflection:create[test2;create2]]}
        !            27: <hr />
        !            28: 
        !            29: ^reflection:class_name[$hash:CLASS]<br />
        !            30: ^reflection:class_name[$cookie:CLASS]<br />
        !            31: ^reflection:class_name[$env:CLASS]<br />
        !            32: <hr />
        !            33: 
        !            34: ^print[test;$o]
        !            35: ^print[test1;$o1]
        !            36: ^print[test2;$o2]
        !            37: ^print[date;$d]
        !            38: ^print[env;$env:CLASS]
        !            39: ^print[unknown]
        !            40: done.
        !            41: 
        !            42: 
        !            43: 
        !            44: @do[code]
        !            45: ^try{
        !            46:        $code
        !            47: }{
        !            48:        $exception.handled(1)
        !            49:        $exception.source
        !            50:        $exception.comment
        !            51:        <br />
        !            52: }
        !            53: 
        !            54: 
        !            55: 
        !            56: @print[class;o][m;k;v;h;i]
        !            57: ^do{
        !            58:        $m[^reflection:methods[$class]]
        !            59:        ^m.foreach[k;v]{
        !            60:                $h[^reflection:method_params[$class;$k]]
        !            61:                ^@${k}[^if($v eq "native"){^if($h.min_params != $h.max_params){^h.min_params.int(0)-}^h.max_params.int(0)}{^for[i](0;^h._count[]){$h.$i}[^;]}]^if(def $h.call_type){ {$h.call_type}}
        !            62:        }[<br />]
        !            63: }
        !            64: ^if(def $o){
        !            65:        ^if($m){<br /><br />}
        !            66:        '$class' object class name: '^reflection:class_name[$o]/^reflection:class_name[^reflection:class[$o]]'<br />
        !            67:        '$class' object base class name: '^reflection:base_name[$o]/^if(^reflection:base[$o] is "void"){;^reflection:class_name[^reflection:base[$o]]}'<br />
        !            68: }
        !            69: <hr />
        !            70: 

E-mail: