Lines Matching +full:notfound +full:- +full:cls +(+path:plugin +path:pycode) -(+path:plugin +path:pycode +path:lang)

26      *              name-lines|function|class
27 * where name-lines is of the form from:to, that is:
32 * name-class
55 "header" => "Cache-Control: no-cache, no-store, must-revalidate"
81 $code = array_slice($code_all, $sl - 1, $el - $sl + 1);
84 throw new Exception("notfound-lns");
99 $ind_cls = $length - strlen($str);
102 $ind_def = $length - $ind_cls - strlen($str);
135 throw new Exception("notfound-cls");
138 throw new Exception("notfound-def");
148 $ind_cls = $length - strlen(ltrim($line));
174 throw new Exception("notfound-cls");
180 $code = $error->getMessage(); // returns the error message
191 * name-class|function
268 $indent = $length - strlen(ltrim($line));
269 $dashed = preg_match("/[-]+/", $line, $matches);
282 $brief = array_slice($brief, 0, -2); // last two don't belong to brief
287 $brief = array_slice($brief, 0, -2); // last two don't belong to brief
296 $brief[count($brief) - 1] = rtrim($brief[count($brief) - 1], '"');
328 $geshi->set_encoding("utf-8");
329 $geshi->enable_classes();
330 $geshi->set_header_type(GESHI_HEADER_PRE);
332 $geshi_code = trim(preg_replace('!^<pre[^>]*>|</pre>$!','',$geshi->parse_code()),"\n\r");
348 * (\S+?) match any non-white space character, from one
356 * [0] => (str) "class|def <name-class|function>(<parameters>):"
359 * [3] => (str) <name-class|function>
365 * [0] => (str) "class <name-class>(<parameters>)"
366 * [1] => (str) <name-class>
370 * [0] => (str) "def <name-function>(<parameters>)"
371 * [1] => (str) <name-function>
394 * (which might not up-to-date) is different from the code of <file>,
395 * hosted in the repository (which is up-to-date).
403 * if $code_dif == "no-dif" then the code is not changed
407 $code_dif = "no-dif";
420 * local copy of <file> (which might not up-to-date), against the tree
422 * repository (which is up-to-date).
433 * Bitbucket <raw-url> =
435 * GitHub <raw-url> =
438 * <srv-path>/lib/plugins/pycode/tmp/<host>/<repo>/<branch>/<file>
443 * [0] => (str) "class <name-class>(<parameters>)"
444 * [1] => (str) <name-class>
448 * [0] => (str) "class <name-function>(<parameters>)"
449 * [1] => (str) <name-function>
458 * [0] => (str) "class <name-class>(<parameters>)"
459 * [1] => (str) <name-class>
463 * [0] => (str) "class <name-function>(<parameters>)"
464 * [1] => (str) <name-function>
473 * [0] => (str) "class <name-class>(<parameters>)"
474 * [1] => (str) <name-class>
478 * [0] => (str) "class <name-function>(<parameters>)"
479 * [1] => (str) <name-function>
494 $tree_dif = $tree->getArrayCopy();
507 list($code_cls_old, $sl, $el) = $this->_get_code($loc_url, "c", $name);
508 list($code_cls_new, $sl, $el) = $this->_get_code($raw_url, "c", $name);
509 $docstr_cls_old = $this->_get_docstr($code_cls_old, $name, "c");
510 $docstr_cls_new = $this->_get_docstr($code_cls_new, $name, "c");
511 $docstr_cls_dif = $this->_get_code_dif($docstr_cls_new, $docstr_cls_old);
549 list($code_def_old, $sl, $el) = $this->_get_code($loc_url, "f", $val, $name);
550 list($code_def_new, $sl, $el) = $this->_get_code($raw_url, "f", $val, $name);
551 $code_def_dif = $this->_get_code_dif($code_def_new, $code_def_old);
570 * Bitbucket <src-url> =
572 * GitHub <src-url> =
575 * Bitbucket <raw-url> =
577 * GitHub <raw-url> =
620 * From <src-url> it pulls out the names of <repo>, <branch>, <file>.
623 * Bitbucket <src-url> =
625 * GitHub <src-url> =
661 $name_host = substr($url[0], 0, -4); // strip ".org|.com"
802 * <srv-path>/lib/plugins/pycode/tmp/<host>/<repo>/<branch>/<file>
819 * [0] => (str) "<root>/<dir-1>"
820 * [1] => (str) "<root>/<dir-1>/<subdir-1>"
821 * [2] => (str) "<root>/<dir-2>"
822 * [3] => (str) "<root>/<dir-2>/<subdir-2>"
823 * [i] => (str) "<root>/<dir-i>"
833 if ($item->isDir()) {
856 $ind = $length - strlen(ltrim($line));
897 * [0] => (str) "<root>/<dir-1>"
898 * [1] => (str) "<root>/<dir-1>/<subdir-1>"
899 * [2] => (str) "<root>/<dir-2>"
900 * [3] => (str) "<root>/<dir-1>/<subdir-2>"
901 * [i] => (str) "<root>/<dir-i>"
936 // <srv-path>/data/pages/<path>/file.txt
940 // <srv-path>/lib/plugins/pycode/tmp/<host>/<repo>/<branch>/<file>
953 // ["<wiki-pg>1"] => array {
963 // {"<wiki-pg>1":["<file>1","<file>2"]}
973 * Bitbucket <src-url> =
975 * GitHub <src-url> =
992 $src_url = $error->getMessage(); // returns the error message