--- parser3/tests/224.html 2009/08/08 22:53:59 1.2 +++ parser3/tests/224.html 2009/09/18 10:00:59 1.6 @@ -24,6 +24,7 @@ $t[^hi._keys[]] ^do{$d[^reflection:create[date;now](-2)]} ^do{$o[^reflection:create[test;create](-1)]} +^do{$o0[^reflection:create[test;create0]]} ^do{$o1[^reflection:create[test1;create1](1)]} ^do{$o2[^reflection:create[test2;create2]]}
@@ -39,6 +40,17 @@ $t[^hi._keys[]] ^print[date;$d] ^print[env;$env:CLASS] ^print[unknown] +
+ +^test3:m[] +$o[^test3::create[]] +^o.m[] + +$h[^reflection:fields[$o.CLASS]] +^h.foreach[k;v]{$k=$v}[, ]
+ +$h[^reflection:fields[$o]] +^h.foreach[k;v]{$k=$v}[, ]
done. @@ -63,8 +75,8 @@ done. ^t.menu{ $k[$t.key] $v[$m.$k] - $h[^reflection:method_params[$class;$k]] - ^@${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}} + $h[^reflection:method_info[$class;$k]] + ^@${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[]-1){$h.$i}[^;]}]^if(def $h.call_type){ {$h.call_type}}^if(def $h.inherited){ {defined in $h.inherited}} }[
] } ^if(def $o){