|
|
| version 1.3, 2009/08/11 12:40:42 | version 1.9, 2024/05/20 23:28:44 |
|---|---|
| Line 19 $t[^hi._keys[]] | Line 19 $t[^hi._keys[]] |
| <hr /> | <hr /> |
| ^do{$d[^reflection:create[date;create]]} | ^do{$d[^reflection:create[date;create]]} |
| ^do{$d[^reflection:create[date;calendar]]} | ^do{$d[^reflection:create[date;calendar;1;2;3]]} |
| ^do{$d[^reflection:create[date;now](-2;1)]} | ^do{$d[^reflection:create[date;now](-2;1)]} |
| ^do{$d[^reflection:create[date;now](-2)]} | ^do{$d[^reflection:create[date;now](-2)]} |
| ^do{$o[^reflection:create[test;create](-1)]} | ^do{$o[^reflection:create[test;create](-1)]} |
| ^do{$o0[^reflection:create[test;create0]]} | |
| ^do{$o1[^reflection:create[test1;create1](1)]} | ^do{$o1[^reflection:create[test1;create1](1)]} |
| ^do{$o2[^reflection:create[test2;create2]]} | ^do{$o2[^reflection:create[test2;create2]]} |
| <hr /> | <hr /> |
| Line 39 $t[^hi._keys[]] | Line 40 $t[^hi._keys[]] |
| ^print[date;$d] | ^print[date;$d] |
| ^print[env;$env:CLASS] | ^print[env;$env:CLASS] |
| ^print[unknown] | ^print[unknown] |
| done. | <hr /> |
| ^test3:m[] | |
| $o[^test3::create[]] | |
| ^o.m[] | |
| $h[^reflection:fields[$o.CLASS]] | |
| ^h.foreach[k;v]{$k=$v}[, ]<br /> | |
| $h[^reflection:fields[$o]] | |
| ^h.foreach[k;v]{$k=$v}[, ]<br /> | |
| done. | |
| @do[code] | @do[code] |
| ^try{ | ^try-catch{ |
| $code | $code |
| }{ | |
| $exception.handled(1) | |
| $exception.source | |
| $exception.comment | |
| <br /> | |
| } | } |
| <br /> | |
| @print[class;o][m;k;v;h;i;t] | @print[class;o][m;k;v;h;i;t] |
| ^do{ | ^do{ |
| Line 64 done. | Line 68 done. |
| $k[$t.key] | $k[$t.key] |
| $v[$m.$k] | $v[$m.$k] |
| $h[^reflection:method_info[$class;$k]] | $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[]){$h.$i}[^;]}]^if(def $h.call_type){ {$h.call_type}}^if(def $h.inherited){ {defined in $h.inherited}} | ^@${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}} |
| }[<br />] | }[<br />] |
| } | } |
| ^if(def $o){ | ^if(def $o){ |