File:  [parser3project] / parser3 / tests / 368.html
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun Nov 27 23:09:00 2016 UTC (9 years, 7 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, HEAD
test updated after ^reflection:filename[$method] 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]

parser method: "^show[$show]"
native method: "^show[$string:length]"
code: ^try-catch{
    $v[^reflection:filename{code}]
}

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

@CLASS
O

@create[]

E-mail: