File:  [parser3project] / parser3 / tests / 176_dir / a.p
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Tue Jun 24 12:41:37 2008 UTC (17 years, 11 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, release_3_3_0, HEAD
- @OPTION => @OPTIONS

@CLASS
a

@OPTIONS
locals

@create[]
$self.one_1[]
$self.one_2[]
$self.one_3[]
$self.two_1[]
$self.two_2[]
$self.two_3[]

@one[][locals;one_1]
$one_1[one_1]	^rem{ local }
$one_2[one_2]	^rem{ local because of 'locals' }
$self.one_3[one_3]	^rem{ not local }

@two[][two_1]
$two_1[two_1]	^rem{ local }
$two_2[two_2]	^rem{ not local }
$self.two_3[two_3]	^rem{ not local }

@run[]
^self.one[]
^self.two[]
^if($self.three is "junction"){
	^self.three[]
}
^if($self.four is "junction"){
	^self.four[]
}

E-mail: