pike.git / src / operators.c

version» Context lines:

pike.git/src/operators.c:5698:    tFunc(tObj tMix tRangeBound tMix tRangeBound, tMix)),    OPT_TRY_OPTIMIZE);       ADD_INT_CONSTANT ("INDEX_FROM_BEG", INDEX_FROM_BEG, 0);    ADD_INT_CONSTANT ("INDEX_FROM_END", INDEX_FROM_END, 0);    ADD_INT_CONSTANT ("OPEN_BOUND", OPEN_BOUND, 0);       ADD_EFUN ("`[]", f_index,    tOr9(tFunc(tObj tMix tOr(tVoid,tMix), tMix),    tFunc(tInt tString, tFunction), -  tFunc(tStr tInt, tInt), +  tFunc(tNStr(tSetvar(0,tInt)) tInt, tVar(0)),    tFunc(tArr(tSetvar(0,tMix)) tMix, tVar(0)),    tFunc(tMap(tMix,tSetvar(1,tMix)) tMix, tVar(1)),    tFunc(tMultiset tMix, tInt01),    tFunc(tPrg(tObj) tString, tMix),    tFunc(tStr tInt tInt, tStr),    tFunc(tArr(tSetvar(2,tMix)) tInt tInt, tArr(tVar(2)))),    OPT_TRY_OPTIMIZE);       /* function(array(object|mapping|multiset|array),string:array(mixed))|function(object|mapping|multiset|program,string:mixed) */    ADD_EFUN2("`->",f_arrow,tOr(tFunc(tArr(tOr4(tObj,tMapping,tMultiset,tArray)) tStr,tArr(tMix)),tFunc(tOr4(tObj,tMapping,tMultiset,tPrg(tObj)) tStr,tMix)),OPT_TRY_OPTIMIZE,0,0);