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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/mkexpert.pike:69:    int|void indent)   {    if (mappingp(tree)) {    code->sprintf("\n"    "%*s([ %O:%d, // %s\n",    indent*3, "", "test", tree->test,    Calendar.ISO.Second(tree->test)->    set_timezone(Calendar.Timezone.UTC)->format_time());    foreach(sort(indices(tree) - ({ "test" })), int offset) {    code->sprintf("%*s %d:", indent*3, "", offset); -  render_expert_tree(code, tree[offset], indent+1); +  render_expert_tree(code, tree[offset], indent+2);    code->sprintf(",\n");    }    code->sprintf("%*s])", indent*3, "");    } else if (arrayp(tree)) {    code->sprintf("\n"   "%*s({\n", indent*3, "");    foreach(tree, string dest) {    code->sprintf("%*s %O,\n", indent*3, "", dest);    }    code->sprintf("%*s})", indent*3, "");