File:  [parser3project] / parser3 / tests / 368.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sat Nov 26 23:12:49 2016 UTC (9 years, 9 months ago) by moko
Branches: MAIN
CVS tags: HEAD
test for reflection:filename[$class or object] added (related to feature #1053)

@main[]

$o[^O::create[]]
object: ^show[$o]
class: ^show[$O:CLASS]

^process{@CLASS
P

^@create[]
}[ $.file[process.p] ]

$p[^P::create[]]
process object: ^show[$p]
process class: ^show[$P:CLASS]

^process{@CLASS
P2

^@create[]
}
process without file specified: ^show[$P2:CLASS]

^try-catch{
	^show[$show]
}

@show[o]
$v[^reflection:filename[$o]]
^v.match[^^.+/][]{/-real-path-was-here-/}

@CLASS
O

@create[]

E-mail: