File:  [parser3project] / parser3 / tests / 337.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Wed Jul 20 15:09:01 2016 UTC (10 years, 1 month ago) by moko
Branches: MAIN
CVS tags: release_3_4_6, release_3_4_5, HEAD
test for ^reflection:fields_reference[] and VHashReference class added (related to feature #1072)

@main[]
$o[^A::create[]]

$h[^reflection:fields_reference[$o]]

^try-catch{$h[^reflection:fields_reference{$o}]}
^try-catch{$h[^reflection:fields_reference[$A]]}

$h.f2[v2]
$h._default[def]
$o.f3[v3]
object:
^json:string[$o;$.indent(true)]
reference:
^json:string[$h;$.indent(true)]

object-fields:
^json:string[^reflection:fields[$o];$.indent(true)]

class: $h.CLASS_NAME
default: $h._default
non-existing: $h.404
method: ^h.count[]

^h.sub[$o]
^json:string[$o;$.indent(true)]
^json:string[$h;$.indent(true)]


@CLASS
A

@create[]
$f1[v1]

E-mail: