Method lfun::`->()
- Method
`->
mixed`->(stringindex,object|voidcontext,int|voidaccess)- Description
Arrow index callback.
- Parameter
index Symbol in
contextto access.- Parameter
context Context in the current object to start the search from. If
UNDEFINEDor left out,this_program::thisis to be be used (ie start at the current context and ignore any overloaded symbols).- Parameter
access Access permission override. One of the following:
0See only public symbols.
UNDEFINED1See protected symbols as well.
- Returns
Returns the value at
indexif it exists, andUNDEFINEDotherwise.- Note
It's assumed that this function is side-effect free.
- See also