pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:2425:    protected mixed `[]=(string index, mixed value)    {    foreach(joined_modules, object|mapping o)    if(has_index(o, index))    return o[index]=value,cache[index]=value;    error("No such variable (%s) in object.\n", index);    }       protected mixed `->=(string index, mixed value)    { +  if( index=="fallback_module" ) +  return fallback_module=value;    return `[]=(index, value);    }       protected mixed `[](string index)    {    mixed ret;    if (!undefinedp(ret = cache[index])) {    if (ret != ZERO_TYPE) {    return ret;    }
pike.git/lib/master.pike.in:2453:    if (undefinedp(ret)) {    cache[index] = ZERO_TYPE;    } else {    cache[index] = ret;    }    return ret;    }       protected mixed `->(string index)    { -  if( (< "joined_modules", "fallback_mode", "name", "is_resolv_joinnode", +  if( (< "joined_modules", "fallback_module", "name", "is_resolv_joinnode",    "cache", "add_path", "rem_path", "delete_value", "_encode",    "_decode" >)[index] )    return ::`->(index);    return `[](index);    }       protected int _cache_full;       protected void fill_cache()    {