Finding Functions by Name
There are a number of ways to get a function by name, but it depends on where the function is located. The following is an incomplete list of techniques.Based on a posting to the Pike mailing list by Grubba
obj[fun]
this_object()[fun] this[fun] ::`[](fun, 2)
scope::this[fun]
::`[](fun, 3)
this_program::this[fun] ::`[](fun)
::`[](fun, 1)
all_constants[fun]
master()->resolv(fun) Powered by PikeWiki2 |
|||
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University |