File:  [parser3project] / parser3 / tests / 225.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Aug 11 10:20:42 2009 UTC (16 years, 10 months ago) by misha
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, release_3_4_4, release_3_4_3, release_3_4_2, release_3_4_1, release_3_4_0, HEAD
- tests for cheching properties in hierarhical classes were added

@main[]
$o1[^child1::create[]]
$o2[^child2::create[]]

$o1.a
$o2.a

$o1.a[1]
$o2.a[2]

$o1._a
$o2._a

$parent:_a[]

^process[$parent:CLASS]{@SET_a[v]
	^$_a[p0=^$v]
}

$o1[^child1::create[]]
$o2[^child2::create[]]

$o1.a[1]

$o1._a

$o2.a[2]

$o1._a
$o2._a



##########
@CLASS
parent

@create[]

@GET_a[]
parent


@SET_a[v]
$_a[0=$v]



##########
@CLASS
child1

@BASE
parent

@GET_a[]
child1




##########
@CLASS
child2

@BASE
parent

@GET_a[]
child2


@SET_a[v]
$_a[2=$v]

E-mail: