pike.git / lib / modules / Calendar.pmod / Events.pmod

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Events.pmod:424:   }      // -----------------------------------------------------------------------      //! @decl Event.Event `[](string region)   //! @decl Event.Event `->(string region)   //!   //! return the Event object for the specified region or the specified   //! named event.    - program|Event.Event `[](string s) + protected program|Event.Event `[](string s)   {    return ::`[](s) || magic_event(s);   } - program|Event.Event `-> (string s) {return `[] (s);} + protected program|Event.Event `-> (string s) {return `[] (s);}      // Don't load Geogrphy.Countries unless we have to   object country_lookup=0;      Event.Event|Event.Namedays magic_event(string s)   {    Event.Event e;    if ( (e=loaded_events[s]) ) return e;       s=replace(s,"_"," ");