Skip to content
Browse files

Updated files.

  • Loading branch information...
1 parent d95e390 commit df99a1701d019d086b6a95d8e26c443355098713 @trans trans committed Jun 4, 2010
Showing with 13 additions and 23,293 deletions.
  1. +8 −0 .rsync-filter
  2. +5 −4 index.html
  3. BIN rdoc/assets/favicon.ico
  4. +0 −33 rdoc/assets/highlight/AUTHORS.en.txt
  5. +0 −33 rdoc/assets/highlight/AUTHORS.ru.txt
  6. +0 −24 rdoc/assets/highlight/LICENSE
  7. +0 −115 rdoc/assets/highlight/export.html
  8. +0 −570 rdoc/assets/highlight/highlight.js
  9. +0 −1 rdoc/assets/highlight/highlight.pack.js
  10. +0 −95 rdoc/assets/highlight/languages/1c.js
  11. +0 −442 rdoc/assets/highlight/languages/apache.js
  12. +0 −89 rdoc/assets/highlight/languages/avrasm.js
  13. +0 −52 rdoc/assets/highlight/languages/axapta.js
  14. +0 −81 rdoc/assets/highlight/languages/bash.js
  15. +0 −42 rdoc/assets/highlight/languages/cpp.js
  16. +0 −47 rdoc/assets/highlight/languages/cs.js
  17. +0 −81 rdoc/assets/highlight/languages/css.js
  18. +0 −83 rdoc/assets/highlight/languages/delphi.js
  19. +0 −65 rdoc/assets/highlight/languages/diff.js
  20. +0 −61 rdoc/assets/highlight/languages/django.js
  21. +0 −33 rdoc/assets/highlight/languages/dos.js
  22. +0 −140 rdoc/assets/highlight/languages/html-xml.js
  23. +0 −40 rdoc/assets/highlight/languages/ini.js
  24. +0 −58 rdoc/assets/highlight/languages/java.js
  25. +0 −50 rdoc/assets/highlight/languages/javascript.js
  26. +0 −89 rdoc/assets/highlight/languages/lisp.js
  27. +0 −51 rdoc/assets/highlight/languages/mel.js
  28. +0 −54 rdoc/assets/highlight/languages/parser3.js
  29. +0 −152 rdoc/assets/highlight/languages/perl.js
  30. +0 −54 rdoc/assets/highlight/languages/php.js
  31. +0 −51 rdoc/assets/highlight/languages/profile.js
  32. +0 −75 rdoc/assets/highlight/languages/python.js
  33. +0 −239 rdoc/assets/highlight/languages/renderman.js
  34. +0 −176 rdoc/assets/highlight/languages/ruby.js
  35. +0 −52 rdoc/assets/highlight/languages/smalltalk.js
  36. +0 −52 rdoc/assets/highlight/languages/sql.js
  37. +0 −36 rdoc/assets/highlight/languages/vbscript.js
  38. +0 −444 rdoc/assets/highlight/readme.eng.txt
  39. +0 −453 rdoc/assets/highlight/readme.rus.txt
  40. +0 −42 rdoc/assets/highlight/styles/ascetic.css
  41. +0 −105 rdoc/assets/highlight/styles/brown_paper.css
  42. BIN rdoc/assets/highlight/styles/brown_papersq.png
  43. +0 −102 rdoc/assets/highlight/styles/dark.css
  44. +0 −104 rdoc/assets/highlight/styles/default.css
  45. +0 −114 rdoc/assets/highlight/styles/far.css
  46. +0 −116 rdoc/assets/highlight/styles/github.css
  47. +0 −110 rdoc/assets/highlight/styles/idea.css
  48. +0 −92 rdoc/assets/highlight/styles/ir_black.css
  49. +0 −105 rdoc/assets/highlight/styles/magula.css
  50. +0 −119 rdoc/assets/highlight/styles/rubylang.css
  51. +0 −112 rdoc/assets/highlight/styles/school_book.css
  52. BIN rdoc/assets/highlight/styles/school_book.png
  53. +0 −140 rdoc/assets/highlight/styles/sunburst.css
  54. +0 −69 rdoc/assets/highlight/styles/vs.css
  55. +0 −113 rdoc/assets/highlight/styles/zenburn.css
  56. +0 −1,032 rdoc/assets/highlight/test.html
  57. +0 −100 rdoc/assets/highlight/wp_highlight.js.php
  58. BIN rdoc/assets/icon/alias.png
  59. BIN rdoc/assets/icon/attribute.png
  60. BIN rdoc/assets/icon/bug.png
  61. BIN rdoc/assets/icon/bullet.png
  62. BIN rdoc/assets/icon/bullet_minus.png
  63. BIN rdoc/assets/icon/bullet_plus.png
  64. BIN rdoc/assets/icon/check.png
  65. BIN rdoc/assets/icon/class.png
  66. BIN rdoc/assets/icon/date.png
  67. BIN rdoc/assets/icon/file.png
  68. BIN rdoc/assets/icon/find.png
  69. BIN rdoc/assets/icon/fixme.png
  70. BIN rdoc/assets/icon/list.png
  71. BIN rdoc/assets/icon/loading.gif
  72. BIN rdoc/assets/icon/method.png
  73. BIN rdoc/assets/icon/module.png
  74. BIN rdoc/assets/icon/page.png
  75. BIN rdoc/assets/icon/plugin.png
  76. BIN rdoc/assets/icon/project.png
  77. BIN rdoc/assets/icon/ruby.png
  78. BIN rdoc/assets/icon/singleton.png
  79. BIN rdoc/assets/icon/stat.png
  80. BIN rdoc/assets/icon/tool.png
  81. BIN rdoc/assets/icon/zoom.png
  82. +0 −19 rdoc/assets/jquery.js
  83. +0 −113 rdoc/assets/main.js
  84. +0 −114 rdoc/assets/quicksearch.js
  85. +0 −685 rdoc/assets/rdoc.css
  86. BIN rdoc/assets/ruby.png
  87. +0 −205 rdoc/classes/Errno.html
  88. +0 −206 rdoc/classes/Errno/ENOTEMPTY.html
  89. +0 −253 rdoc/classes/Object.html
  90. +0 −285 rdoc/classes/Setup.html
  91. +0 −929 rdoc/classes/Setup/Base.html
  92. +0 −922 rdoc/classes/Setup/Command.html
  93. +0 −502 rdoc/classes/Setup/Compiler.html
  94. +0 −3,518 rdoc/classes/Setup/Configuration.html
  95. +0 −459 rdoc/classes/Setup/Documentor.html
  96. +0 −205 rdoc/classes/Setup/Error.html
  97. +0 −1,452 rdoc/classes/Setup/Installer.html
  98. +0 −416 rdoc/classes/Setup/Installer/Shebang.html
  99. +0 −489 rdoc/classes/Setup/Project.html
  100. +0 −1,454 rdoc/classes/Setup/Session.html
  101. +0 −398 rdoc/classes/Setup/Tester.html
  102. +0 −354 rdoc/classes/Setup/Uninstaller.html
  103. +0 −1 rdoc/created.rid
  104. +0 −2,006 rdoc/files/COPYING.html
  105. +0 −1,516 rdoc/files/HISTORY.html
Sorry, we could not display the entire diff because too many files (338) changed.
View
8 .rsync-filter
@@ -0,0 +1,8 @@
+- .svn
+- .gitignore
+P usage
+P statcvs
+P statsvn
+P robot.txt
+P robots.txt
+P wiki
View
9 index.html
@@ -17,11 +17,12 @@
<div id="nav">
<div class="page">
- <!-- <a href="news.html">NEWS</a> &middot; -->
- <a href="guide/doc.en/index.html">English Manual</a> &nbsp;&middot;&nbsp;
- <a href="rdoc/index.html">API Documents</a> &nbsp;&middot;&nbsp;
+ <a href="http://wiki.github.com/proutils/setup">Manual</a> &nbsp;&middot;&nbsp;
+ (<a href="guide/doc.jp/index.html">Old Jp</a>)
+ <a href="rdoc/index.html">API</a> &nbsp;&middot;&nbsp;
+ <a href="http://rubygems.org/gems/setup">Gem</a>
<a href="http://github.com/proutils/setup/downloads">Download</a> &nbsp;&middot;&nbsp;
- <a href="http://github.com/proutils/setup">Development</a>
+ <a href="http://github.com/proutils/setup">Code</a> &nbsp;&middot;&nbsp;
</div>
</div>
View
BIN rdoc/assets/favicon.ico
Binary file not shown.
View
33 rdoc/assets/highlight/AUTHORS.en.txt
@@ -1,33 +0,0 @@
-Syntax highlighting with language autodetection.
-
-URL: http://softwaremaniacs.org/soft/highlight/en/
-
-Original author and current maintainer:
-Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
-
-Contributors:
-
-- Peter Leonov <gojpeg@gmail.com>
-- Victor Karamzin <Victor.Karamzin@enterra-inc.com>
-- Vsevolod Solovyov <vsevolod.solovyov@gmail.com>
-- Anton Kovalyov <anton@kovalyov.net>
-- Nikita Ledyaev <lenikita@yandex.ru>
-- Konstantin Evdokimenko <qewerty@gmail.com>
-- Dmitri Roudakov <dmitri@roudakov.ru>
-- Yuri Ivanov <ivanov@supersoft.ru>
-- Vladimir Ermakov <vooon341@mail.ru>
-- Vladimir Gubarkov <xonixx@gmail.com>
-- Brian Beck <exogen@gmail.com>
-- MajestiC <majestic2k@gmail.com>
-- Vasily Polovnyov <vast@whiteants.net>
-- Vladimir Epifanov <voldmar@voldmar.ru>
-- Alexander Makarov (http://rmcreative.ru/)
-- Vah <vahtenberg@gmail.com>
-- Shuen-Huei Guan <drake.guan@gmail.com>
-- Jason Diamond <jason@diamond.name>
-- Michal Gabrukiewicz <mgabru@gmail.com>
-- Ruslan Keba <rukeba@gmail.com>
-- Sergey Baranov <segyrn@yandex.ru>
-- Zaripov Yura <yur4ik7@ukr.net>
-- Oleg Volchkov <oleg@volchkov.net>
-- Vasily Mikhailitchenko <vaskas@programica.ru>
View
33 rdoc/assets/highlight/AUTHORS.ru.txt
@@ -1,33 +0,0 @@
-Подсветка синтаксиса с автоопределением языка.
-
-URL: http://softwaremaniacs.org/soft/highlight/
-
-Первоначальный автор и ведущий проекта:
-Иван Сагалаев <Maniac@SoftwareManiacs.Org>
-
-Внесли свой вклад:
-
-- Петр Леонов <gojpeg@gmail.com>
-- Виктор Карамзин <Victor.Karamzin@enterra-inc.com>
-- Всеволод Соловьёв <vsevolod.solovyov@gmail.com>
-- Антон Ковалёв <anton@kovalyov.net>
-- Никита Ледяев <lenikita@yandex.ru>
-- Константин Евдокименко <qewerty@gmail.com>
-- Дмитрий Рудаков <dmitri@roudakov.ru>
-- Юрий Иванов <ivanov@supersoft.ru>
-- Владимир Ермаков <vooon341@mail.ru>
-- Владимир Губарьков <xonixx@gmail.com>
-- Брайан Бек <exogen@gmail.com>
-- MajestiC <majestic2k@gmail.com>
-- Василий Половнёв <vast@whiteants.net>
-- Владимир Епифанов <voldmar@voldmar.ru>
-- Александр Макаров (http://rmcreative.ru/)
-- Vah <vahtenberg@gmail.com>
-- Шуэн-Хуэй Гуан <drake.guan@gmail.com>
-- Джейсон Даймонд <jason@diamond.name>
-- Михал Габрукевич <mgabru@gmail.com>
-- Руслан Кеба <rukeba@gmail.com>
-- Сергей Баранов <segyrn@yandex.ru>
-- Зарипов Юра <yur4ik7@ukr.net>
-- Олег Волчков <oleg@volchkov.net>
-- Василий Михайличенко <vaskas@programica.ru>
View
24 rdoc/assets/highlight/LICENSE
@@ -1,24 +0,0 @@
-Copyright (c) 2006, Ivan Sagalaev
-All rights reserved.
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of highlight.js nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
-EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
115 rdoc/assets/highlight/export.html
@@ -1,115 +0,0 @@
-<!-- saved from url=(0013)about:internet -->
-<!-- ^^^ This is for IE not to show security warning for local files,
-see http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx-->
-
-<!--
-Highlighted code export
-Copyright (c) Vladimir Gubarkov <xonixx@gmail.com>
--->
-
-<html>
- <head>
- <title>Highlited code export</title>
- <link rel="stylesheet" href="styles/default.css">
- <meta charset="utf-8">
- <style type="text/css">
- #t1, #t2 { width: 100%;}
- tr { vertical-align: top; }
- address { margin-top: 4em; }
- </style>
- <script src="highlight.js"></script>
- <script src="languages/cs.js"></script>
- <script src="languages/python.js"></script>
- <script src="languages/mel.js"></script>
- <script src="languages/perl.js"></script>
- <script src="languages/axapta.js"></script>
- <script src="languages/cpp.js"></script>
- <script src="languages/sql.js"></script>
- <script src="languages/smalltalk.js"></script>
- <script src="languages/profile.js"></script>
- <script src="languages/bash.js"></script>
- <script src="languages/html-xml.js"></script>
- <script src="languages/renderman.js"></script>
- <script src="languages/1c.js"></script>
- <script src="languages/delphi.js"></script>
- <script src="languages/dos.js"></script>
- <script src="languages/django.js"></script>
- <script src="languages/vbscript.js"></script>
- <script src="languages/ini.js"></script>
- <script src="languages/apache.js"></script>
- <script src="languages/ruby.js"></script>
- <script src="languages/css.js"></script>
- <script src="languages/lisp.js"></script>
- <script src="languages/java.js"></script>
- <script src="languages/javascript.js"></script>
- <script src="languages/php.js"></script>
- <script src="languages/diff.js"></script>
- <script src="languages/avrasm.js"></script>
- <script src="languages/parser3.js"></script>
- <script>hljs.initHighlightingOnLoad();</script>
- </head>
- <body>
- <script type="text/javascript">
- String.prototype.escape = function() {
- return this.replace(/&/gm, '&amp;').replace(/</gm, '&lt;').replace(/>/gm, '&gt;');
- }
-
- function doIt() {
- var viewDiv = document.getElementById("highlight-view");
- var t1 = document.getElementById("t1");
- var t2 = document.getElementById("t2");
- var selector = document.getElementById("langSelector");
- var selectedLang = selector.options[selector.selectedIndex].value.toLowerCase();
- if(selectedLang) {
- viewDiv.innerHTML = '<pre><code class="'+selectedLang+'">'+t1.value.escape()+"</code></pre>";
- } else { // try auto
- viewDiv.innerHTML = '<pre><code>' + t1.value.escape() + "</code></pre>";
- }
- hljs.highlightBlock(viewDiv.firstChild.firstChild);
- t2.value = viewDiv.innerHTML;
- }
-
- function copyToBuffer(textToCopy) {
- if (window.clipboardData) { // IE
- window.clipboardData.setData("Text", textToCopy);
- } else if (window.netscape) { // FF
- // from http://developer.mozilla.org/en/docs/Using_the_Clipboard
- netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
- var gClipboardHelper = Components.classes["@mozilla.org/widget/clipboardhelper;1"].getService(Components.interfaces.nsIClipboardHelper);
- gClipboardHelper.copyString(textToCopy);
- }
- }
- </script>
- <script type="text/javascript">
- var langSelectorHtml = '<label>Language <select id="langSelector">';
- langSelectorHtml += '<option value="">Auto</option>';
- for (var i in hljs.LANGUAGES) {
- if (hljs.LANGUAGES.hasOwnProperty(i))
- langSelectorHtml += '<option value=\"'+i+'\">'+i.charAt(0).toUpperCase()+i.substr(1)+'</option>';
- }
- langSelectorHtml += '</select></label>';
- document.write(langSelectorHtml);
- </script>
- <table width="100%">
- <tr>
- <td><textarea rows="20" cols="50" id="t1"></textarea></td>
- <td><textarea rows="20" cols="50" id="t2"></textarea></td>
- </tr>
- <tr>
- <td>Write a code snippet</td>
- <td>Get HTML to paste anywhere (for actual styles and colors see sample.css)</td>
- </tr>
- </table>
- <table width="98%">
- <tr>
- <td><input type="button" value="Export &rarr;" onclick="doIt()"/></td>
- <td align="right"><input type="button" value="Copy to buffer" onclick="copyToBuffer(document.getElementById('t2').value);"/></td>
- </tr>
- </table>
- <div id="highlight-view"></div>
- <address>
- Export script: <a href="mailto:xonixx@gmail.com">Vladimir Gubarkov</a><br>
- Highlighting: <a href="http://softwaremaniacs.org/soft/highlight/">highlight.js</a>
- </address>
- </body>
-</html>
View
570 rdoc/assets/highlight/highlight.js
@@ -1,570 +0,0 @@
-/*
-Syntax highlighting with language autodetection.
-http://softwaremaniacs.org/soft/highlight/
-*/
-
-var hljs = new function() {
- var LANGUAGES = {}
- var selected_languages = {};
-
- function escape(value) {
- return value.replace(/&/gm, '&amp;').replace(/</gm, '&lt;').replace(/>/gm, '&gt;');
- }
-
- function contains(array, item) {
- if (!array)
- return false;
- for (var i = 0; i < array.length; i++)
- if (array[i] == item)
- return true;
- return false;
- }
-
- function highlight(language_name, value) {
- function compileSubModes(mode, language) {
- mode.sub_modes = [];
- for (var i = 0; i < mode.contains.length; i++) {
- for (var j = 0; j < language.modes.length; j++) {
- if (language.modes[j].className == mode.contains[i]) {
- mode.sub_modes[mode.sub_modes.length] = language.modes[j];
- }
- }
- }
- }
-
- function subMode(lexem, mode) {
- if (!mode.contains) {
- return null;
- }
- if (!mode.sub_modes) {
- compileSubModes(mode, language);
- }
- for (var i = 0; i < mode.sub_modes.length; i++) {
- if (mode.sub_modes[i].beginRe.test(lexem)) {
- return mode.sub_modes[i];
- }
- }
- return null;
- }
-
- function endOfMode(mode_index, lexem) {
- if (modes[mode_index].end && modes[mode_index].endRe.test(lexem))
- return 1;
- if (modes[mode_index].endsWithParent) {
- var level = endOfMode(mode_index - 1, lexem);
- return level ? level + 1 : 0;
- }
- return 0;
- }
-
- function isIllegal(lexem, mode) {
- return mode.illegalRe && mode.illegalRe.test(lexem);
- }
-
- function compileTerminators(mode, language) {
- var terminators = [];
-
- function addTerminator(re) {
- if (!contains(terminators, re)) {
- terminators[terminators.length] = re;
- }
- }
-
- if (mode.contains)
- for (var i = 0; i < language.modes.length; i++) {
- if (contains(mode.contains, language.modes[i].className)) {
- addTerminator(language.modes[i].begin);
- }
- }
-
- var index = modes.length - 1;
- do {
- if (modes[index].end) {
- addTerminator(modes[index].end);
- }
- index--;
- } while (modes[index + 1].endsWithParent);
-
- if (mode.illegal) {
- addTerminator(mode.illegal);
- }
-
- var terminator_re = '(' + terminators[0];
- for (var i = 0; i < terminators.length; i++)
- terminator_re += '|' + terminators[i];
- terminator_re += ')';
- return langRe(language, terminator_re);
- }
-
- function eatModeChunk(value, index) {
- var mode = modes[modes.length - 1];
- if (!mode.terminators) {
- mode.terminators = compileTerminators(mode, language);
- }
- value = value.substr(index);
- var match = mode.terminators.exec(value);
- if (!match)
- return [value, '', true];
- if (match.index == 0)
- return ['', match[0], false];
- else
- return [value.substr(0, match.index), match[0], false];
- }
-
- function keywordMatch(mode, match) {
- var match_str = language.case_insensitive ? match[0].toLowerCase() : match[0]
- for (var className in mode.keywordGroups) {
- if (!mode.keywordGroups.hasOwnProperty(className))
- continue;
- var value = mode.keywordGroups[className].hasOwnProperty(match_str);
- if (value)
- return [className, value];
- }
- return false;
- }
-
- function processKeywords(buffer, mode) {
- if (!mode.keywords || !mode.lexems)
- return escape(buffer);
- if (!mode.lexemsRe) {
- var lexems_re = '(' + mode.lexems[0];
- for (var i = 1; i < mode.lexems.length; i++)
- lexems_re += '|' + mode.lexems[i];
- lexems_re += ')';
- mode.lexemsRe = langRe(language, lexems_re, true);
- }
- var result = '';
- var last_index = 0;
- mode.lexemsRe.lastIndex = 0;
- var match = mode.lexemsRe.exec(buffer);
- while (match) {
- result += escape(buffer.substr(last_index, match.index - last_index));
- var keyword_match = keywordMatch(mode, match);
- if (keyword_match) {
- keyword_count += keyword_match[1];
- result += '<span class="'+ keyword_match[0] +'">' + escape(match[0]) + '</span>';
- } else {
- result += escape(match[0]);
- }
- last_index = mode.lexemsRe.lastIndex;
- match = mode.lexemsRe.exec(buffer);
- }
- result += escape(buffer.substr(last_index, buffer.length - last_index));
- return result;
- }
-
- function processBuffer(buffer, mode) {
- if (mode.subLanguage && selected_languages[mode.subLanguage]) {
- var result = highlight(mode.subLanguage, buffer);
- keyword_count += result.keyword_count;
- relevance += result.relevance;
- return result.value;
- } else {
- return processKeywords(buffer, mode);
- }
- }
-
- function startNewMode(mode, lexem) {
- var markup = mode.noMarkup?'':'<span class="' + mode.className + '">';
- if (mode.returnBegin) {
- result += markup;
- mode.buffer = '';
- } else if (mode.excludeBegin) {
- result += escape(lexem) + markup;
- mode.buffer = '';
- } else {
- result += markup;
- mode.buffer = lexem;
- }
- modes[modes.length] = mode;
- }
-
- function processModeInfo(buffer, lexem, end) {
- var current_mode = modes[modes.length - 1];
- if (end) {
- result += processBuffer(current_mode.buffer + buffer, current_mode);
- return false;
- }
-
- var new_mode = subMode(lexem, current_mode);
- if (new_mode) {
- result += processBuffer(current_mode.buffer + buffer, current_mode);
- startNewMode(new_mode, lexem);
- relevance += new_mode.relevance;
- return new_mode.returnBegin;
- }
-
- var end_level = endOfMode(modes.length - 1, lexem);
- if (end_level) {
- var markup = current_mode.noMarkup?'':'</span>';
- if (current_mode.returnEnd) {
- result += processBuffer(current_mode.buffer + buffer, current_mode) + markup;
- } else if (current_mode.excludeEnd) {
- result += processBuffer(current_mode.buffer + buffer, current_mode) + markup + escape(lexem);
- } else {
- result += processBuffer(current_mode.buffer + buffer + lexem, current_mode) + markup;
- }
- while (end_level > 1) {
- markup = modes[modes.length - 2].noMarkup?'':'</span>';
- result += markup;
- end_level--;
- modes.length--;
- }
- modes.length--;
- modes[modes.length - 1].buffer = '';
- if (current_mode.starts) {
- for (var i = 0; i < language.modes.length; i++) {
- if (language.modes[i].className == current_mode.starts) {
- startNewMode(language.modes[i], '');
- break;
- }
- }
- }
- return current_mode.returnEnd;
- }
-
- if (isIllegal(lexem, current_mode))
- throw 'Illegal';
- }
-
- var language = LANGUAGES[language_name];
- var modes = [language.defaultMode];
- var relevance = 0;
- var keyword_count = 0;
- var result = '';
- try {
- var index = 0;
- language.defaultMode.buffer = '';
- do {
- var mode_info = eatModeChunk(value, index);
- var return_lexem = processModeInfo(mode_info[0], mode_info[1], mode_info[2]);
- index += mode_info[0].length;
- if (!return_lexem) {
- index += mode_info[1].length;
- }
- } while (!mode_info[2]);
- if(modes.length > 1)
- throw 'Illegal';
- return {
- relevance: relevance,
- keyword_count: keyword_count,
- value: result
- }
- } catch (e) {
- if (e == 'Illegal') {
- return {
- relevance: 0,
- keyword_count: 0,
- value: escape(value)
- }
- } else {
- throw e;
- }
- }
- }
-
- function blockText(block) {
- var result = '';
- for (var i = 0; i < block.childNodes.length; i++)
- if (block.childNodes[i].nodeType == 3)
- result += block.childNodes[i].nodeValue;
- else if (block.childNodes[i].nodeName == 'BR')
- result += '\n';
- else
- result += blockText(block.childNodes[i]);
- return result;
- }
-
- function blockLanguage(block) {
- var classes = block.className.split(/\s+/)
- classes = classes.concat(block.parentNode.className.split(/\s+/));
- for (var i = 0; i < classes.length; i++) {
- var class_ = classes[i].replace(/^language-/, '');
- if (class_ == 'no-highlight') {
- throw 'No highlight'
- }
- if (LANGUAGES[class_]) {
- return class_;
- }
- }
- }
-
- function nodeStream(node) {
- var result = [];
- (function (node, offset) {
- for (var i = 0; i < node.childNodes.length; i++) {
- if (node.childNodes[i].nodeType == 3)
- offset += node.childNodes[i].nodeValue.length;
- else if (node.childNodes[i].nodeName == 'BR')
- offset += 1
- else {
- result.push({
- event: 'start',
- offset: offset,
- node: node.childNodes[i]
- });
- offset = arguments.callee(node.childNodes[i], offset)
- result.push({
- event: 'stop',
- offset: offset,
- node: node.childNodes[i]
- });
- }
- }
- return offset;
- })(node, 0);
- return result;
- }
-
- function mergeStreams(stream1, stream2, value) {
- var processed = 0;
- var result = '';
- var nodeStack = [];
-
- function selectStream() {
- if (stream1.length && stream2.length) {
- if (stream1[0].offset != stream2[0].offset)
- return (stream1[0].offset < stream2[0].offset) ? stream1 : stream2;
- else
- return (stream1[0].event == 'start' && stream2[0].event == 'stop') ? stream2 : stream1;
- } else {
- return stream1.length ? stream1 : stream2;
- }
- }
-
- function open(node) {
- var result = '<' + node.nodeName.toLowerCase();
- for (var i = 0; i < node.attributes.length; i++) {
- result += ' ' + node.attributes[i].nodeName.toLowerCase() + '="' + escape(node.attributes[i].nodeValue) + '"';
- }
- return result + '>';
- }
-
- function close(node) {
- return '</' + node.nodeName.toLowerCase() + '>';
- }
-
- while (stream1.length || stream2.length) {
- var current = selectStream().splice(0, 1)[0];
- result += escape(value.substr(processed, current.offset - processed));
- processed = current.offset;
- if ( current.event == 'start') {
- result += open(current.node);
- nodeStack.push(current.node);
- } else if (current.event == 'stop') {
- var i = nodeStack.length;
- do {
- i--;
- var node = nodeStack[i];
- result += close(node);
- } while (node != current.node);
- nodeStack.splice(i, 1);
- while (i < nodeStack.length) {
- result += open(nodeStack[i]);
- i++;
- }
- }
- }
- result += value.substr(processed);
- return result;
- }
-
- function highlightBlock(block, tabReplace) {
- try {
- var text = blockText(block);
- var language = blockLanguage(block);
- } catch (e) {
- if (e == 'No highlight')
- return;
- }
-
- if (language) {
- var result = highlight(language, text).value;
- } else {
- var max_relevance = 0;
- for (var key in selected_languages) {
- if (!selected_languages.hasOwnProperty(key))
- continue;
- var lang_result = highlight(key, text);
- var relevance = lang_result.keyword_count + lang_result.relevance;
- if (relevance > max_relevance) {
- max_relevance = relevance;
- var result = lang_result.value;
- language = key;
- }
- }
- }
-
- if (result) {
- if (tabReplace) {
- result = result.replace(/^(\t+)/gm, function(match, p1, offset, s) {
- return p1.replace(/\t/g, tabReplace);
- })
- }
- var class_name = block.className;
- if (!class_name.match(language)) {
- class_name += ' ' + language;
- }
- var original = nodeStream(block);
- if (original.length) {
- var pre = document.createElement('pre');
- pre.innerHTML = result;
- result = mergeStreams(original, nodeStream(pre), text);
- }
- // See these 4 lines? This is IE's notion of "block.innerHTML = result". Love this browser :-/
- var container = document.createElement('div');
- container.innerHTML = '<pre><code class="' + class_name + '">' + result + '</code></pre>';
- var environment = block.parentNode.parentNode;
- environment.replaceChild(container.firstChild, block.parentNode);
- }
- }
-
- function langRe(language, value, global) {
- var mode = 'm' + (language.case_insensitive ? 'i' : '') + (global ? 'g' : '');
- return new RegExp(value, mode);
- }
-
- function compileModes() {
- for (var i in LANGUAGES) {
- if (!LANGUAGES.hasOwnProperty(i))
- continue;
- var language = LANGUAGES[i];
- for (var j = 0; j < language.modes.length; j++) {
- if (language.modes[j].begin)
- language.modes[j].beginRe = langRe(language, '^' + language.modes[j].begin);
- if (language.modes[j].end)
- language.modes[j].endRe = langRe(language, '^' + language.modes[j].end);
- if (language.modes[j].illegal)
- language.modes[j].illegalRe = langRe(language, '^(?:' + language.modes[j].illegal + ')');
- language.defaultMode.illegalRe = langRe(language, '^(?:' + language.defaultMode.illegal + ')');
- if (language.modes[j].relevance == undefined) {
- language.modes[j].relevance = 1;
- }
- }
- }
- }
-
- function compileKeywords() {
-
- function compileModeKeywords(mode) {
- if (!mode.keywordGroups) {
- for (var key in mode.keywords) {
- if (!mode.keywords.hasOwnProperty(key))
- continue;
- if (mode.keywords[key] instanceof Object)
- mode.keywordGroups = mode.keywords;
- else
- mode.keywordGroups = {'keyword': mode.keywords};
- break;
- }
- }
- }
-
- for (var i in LANGUAGES) {
- if (!LANGUAGES.hasOwnProperty(i))
- continue;
- var language = LANGUAGES[i];
- compileModeKeywords(language.defaultMode);
- for (var j = 0; j < language.modes.length; j++) {
- compileModeKeywords(language.modes[j]);
- }
- }
- }
-
- function findCode(pre) {
- for (var i = 0; i < pre.childNodes.length; i++) {
- node = pre.childNodes[i];
- if (node.nodeName == 'CODE')
- return node;
- if (!(node.nodeType == 3 && node.nodeValue.match(/\s+/)))
- return null;
- }
- }
-
- function initHighlighting() {
- if (initHighlighting.called)
- return;
- initHighlighting.called = true;
- compileModes();
- compileKeywords();
- if (arguments.length) {
- for (var i = 0; i < arguments.length; i++) {
- if (LANGUAGES[arguments[i]]) {
- selected_languages[arguments[i]] = LANGUAGES[arguments[i]];
- }
- }
- } else
- selected_languages = LANGUAGES;
- var pres = document.getElementsByTagName('pre');
- for (var i = 0; i < pres.length; i++) {
- var code = findCode(pres[i]);
- if (code)
- highlightBlock(code, hljs.tabReplace);
- }
- }
-
- function initHighlightingOnLoad() {
- var original_arguments = arguments;
- var handler = function(){initHighlighting.apply(null, original_arguments)};
- if (window.addEventListener) {
- window.addEventListener('DOMContentLoaded', handler, false);
- window.addEventListener('load', handler, false);
- } else if (window.attachEvent)
- window.attachEvent('onload', handler);
- else
- window.onload = handler;
- }
-
- this.LANGUAGES = LANGUAGES;
- this.initHighlightingOnLoad = initHighlightingOnLoad;
- this.highlightBlock = highlightBlock;
- this.initHighlighting = initHighlighting;
-
- // Common regexps
- this.IDENT_RE = '[a-zA-Z][a-zA-Z0-9_]*';
- this.UNDERSCORE_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_]*';
- this.NUMBER_RE = '\\b\\d+(\\.\\d+)?';
- this.C_NUMBER_RE = '\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)';
- this.RE_STARTERS_RE = '!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~';
-
- // Common modes
- this.APOS_STRING_MODE = {
- className: 'string',
- begin: '\'', end: '\'',
- illegal: '\\n',
- contains: ['escape'],
- relevance: 0
- };
- this.QUOTE_STRING_MODE = {
- className: 'string',
- begin: '"', end: '"',
- illegal: '\\n',
- contains: ['escape'],
- relevance: 0
- };
- this.BACKSLASH_ESCAPE = {
- className: 'escape',
- begin: '\\\\.', end: '^', noMarkup: true,
- relevance: 0
- };
- this.C_LINE_COMMENT_MODE = {
- className: 'comment',
- begin: '//', end: '$',
- relevance: 0
- };
- this.C_BLOCK_COMMENT_MODE = {
- className: 'comment',
- begin: '/\\*', end: '\\*/'
- };
- this.HASH_COMMENT_MODE = {
- className: 'comment',
- begin: '#', end: '$'
- };
- this.C_NUMBER_MODE = {
- className: 'number',
- begin: this.C_NUMBER_RE, end: '^',
- relevance: 0
- };
-}();
-
-var initHighlightingOnLoad = hljs.initHighlightingOnLoad;
View
1 rdoc/assets/highlight/highlight.pack.js
@@ -1 +0,0 @@
-var hljs=new function(){var p={};var a={};function n(c){return c.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;")}function k(s,r){if(!s){return false}for(var c=0;c<s.length;c++){if(s[c]==r){return true}}return false}function g(K,E){function L(P,O){P.sm=[];for(var N=0;N<P.c.length;N++){for(var r=0;r<O.m.length;r++){if(O.m[r].cN==P.c[N]){P.sm[P.sm.length]=O.m[r]}}}}function A(r,O){if(!O.c){return null}if(!O.sm){L(O,I)}for(var N=0;N<O.sm.length;N++){if(O.sm[N].bR.test(r)){return O.sm[N]}}return null}function x(N,r){if(D[N].e&&D[N].eR.test(r)){return 1}if(D[N].eW){var O=x(N-1,r);return O?O+1:0}return 0}function y(r,N){return N.iR&&N.iR.test(r)}function B(S,Q){var O=[];function R(T){if(!k(O,T)){O[O.length]=T}}if(S.c){for(var N=0;N<Q.m.length;N++){if(k(S.c,Q.m[N].cN)){R(Q.m[N].b)}}}var r=D.length-1;do{if(D[r].e){R(D[r].e)}r--}while(D[r+1].eW);if(S.i){R(S.i)}var P="("+O[0];for(var N=0;N<O.length;N++){P+="|"+O[N]}P+=")";return e(Q,P)}function t(O,N){var P=D[D.length-1];if(!P.t){P.t=B(P,I)}O=O.substr(N);var r=P.t.exec(O);if(!r){return[O,"",true]}if(r.index==0){return["",r[0],false]}else{return[O.substr(0,r.index),r[0],false]}}function s(Q,r){var N=I.cI?r[0].toLowerCase():r[0];for(var P in Q.keywordGroups){if(!Q.keywordGroups.hasOwnProperty(P)){continue}var O=Q.keywordGroups[P].hasOwnProperty(N);if(O){return[P,O]}}return false}function G(P,S){if(!S.k||!S.l){return n(P)}if(!S.lR){var R="("+S.l[0];for(var O=1;O<S.l.length;O++){R+="|"+S.l[O]}R+=")";S.lR=e(I,R,true)}var Q="";var T=0;S.lR.lastIndex=0;var N=S.lR.exec(P);while(N){Q+=n(P.substr(T,N.index-T));var r=s(S,N);if(r){u+=r[1];Q+='<span class="'+r[0]+'">'+n(N[0])+"</span>"}else{Q+=n(N[0])}T=S.lR.lastIndex;N=S.lR.exec(P)}Q+=n(P.substr(T,P.length-T));return Q}function M(r,O){if(O.subLanguage&&a[O.subLanguage]){var N=g(O.subLanguage,r);u+=N.keyword_count;C+=N.r;return N.value}else{return G(r,O)}}function J(O,r){var N=O.nM?"":'<span class="'+O.cN+'">';if(O.rB){c+=N;O.buffer=""}else{if(O.eB){c+=n(r)+N;O.buffer=""}else{c+=N;O.buffer=r}}D[D.length]=O}function F(R,N,S){var T=D[D.length-1];if(S){c+=M(T.buffer+R,T);return false}var O=A(N,T);if(O){c+=M(T.buffer+R,T);J(O,N);C+=O.r;return O.rB}var r=x(D.length-1,N);if(r){var Q=T.nM?"":"</span>";if(T.rE){c+=M(T.buffer+R,T)+Q}else{if(T.eE){c+=M(T.buffer+R,T)+Q+n(N)}else{c+=M(T.buffer+R+N,T)+Q}}while(r>1){Q=D[D.length-2].nM?"":"</span>";c+=Q;r--;D.length--}D.length--;D[D.length-1].buffer="";if(T.starts){for(var P=0;P<I.m.length;P++){if(I.m[P].cN==T.starts){J(I.m[P],"");break}}}return T.rE}if(y(N,T)){throw"Illegal"}}var I=p[K];var D=[I.dM];var C=0;var u=0;var c="";try{var w=0;I.dM.buffer="";do{var z=t(E,w);var v=F(z[0],z[1],z[2]);w+=z[0].length;if(!v){w+=z[1].length}}while(!z[2]);if(D.length>1){throw"Illegal"}return{r:C,keyword_count:u,value:c}}catch(H){if(H=="Illegal"){return{r:0,keyword_count:0,value:n(E)}}else{throw H}}}function h(s){var r="";for(var c=0;c<s.childNodes.length;c++){if(s.childNodes[c].nodeType==3){r+=s.childNodes[c].nodeValue}else{if(s.childNodes[c].nodeName=="BR"){r+="\n"}else{r+=h(s.childNodes[c])}}}return r}function b(t){var r=t.className.split(/\s+/);r=r.concat(t.parentNode.className.split(/\s+/));for(var c=0;c<r.length;c++){var s=r[c].replace(/^language-/,"");if(s=="no-highlight"){throw"No highlight"}if(p[s]){return s}}}function d(c){var r=[];(function(t,u){for(var s=0;s<t.childNodes.length;s++){if(t.childNodes[s].nodeType==3){u+=t.childNodes[s].nodeValue.length}else{if(t.childNodes[s].nodeName=="BR"){u+=1}else{r.push({event:"start",offset:u,node:t.childNodes[s]});u=arguments.callee(t.childNodes[s],u);r.push({event:"stop",offset:u,node:t.childNodes[s]})}}}return u})(c,0);return r}function m(z,A,y){var s=0;var x="";var u=[];function v(){if(z.length&&A.length){if(z[0].offset!=A[0].offset){return(z[0].offset<A[0].offset)?z:A}else{return(z[0].event=="start"&&A[0].event=="stop")?A:z}}else{return z.length?z:A}}function t(D){var E="<"+D.nodeName.toLowerCase();for(var C=0;C<D.attributes.length;C++){E+=" "+D.attributes[C].nodeName.toLowerCase()+'="'+n(D.attributes[C].nodeValue)+'"'}return E+">"}function B(C){return"</"+C.nodeName.toLowerCase()+">"}while(z.length||A.length){var w=v().splice(0,1)[0];x+=n(y.substr(s,w.offset-s));s=w.offset;if(w.event=="start"){x+=t(w.node);u.push(w.node)}else{if(w.event=="stop"){var r=u.length;do{r--;var c=u[r];x+=B(c)}while(c!=w.node);u.splice(r,1);while(r<u.length){x+=t(u[r]);r++}}}}x+=y.substr(s);return x}function q(y,C){try{var F=h(y);var v=b(y)}catch(z){if(z=="No highlight"){return}}if(v){var B=g(v,F).value}else{var D=0;for(var E in a){if(!a.hasOwnProperty(E)){continue}var t=g(E,F);var c=t.keyword_count+t.r;if(c>D){D=c;var B=t.value;v=E}}}if(B){if(C){B=B.replace(/^(\t+)/gm,function(r,I,H,G){return I.replace(/\t/g,C)})}var x=y.className;if(!x.match(v)){x+=" "+v}var s=d(y);if(s.length){var u=document.createElement("pre");u.innerHTML=B;B=m(s,d(u),F)}var A=document.createElement("div");A.innerHTML='<pre><code class="'+x+'">'+B+"</code></pre>";var w=y.parentNode.parentNode;w.replaceChild(A.firstChild,y.parentNode)}}function e(s,r,c){var t="m"+(s.cI?"i":"")+(c?"g":"");return new RegExp(r,t)}function j(){for(var r in p){if(!p.hasOwnProperty(r)){continue}var s=p[r];for(var c=0;c<s.m.length;c++){if(s.m[c].b){s.m[c].bR=e(s,"^"+s.m[c].b)}if(s.m[c].e){s.m[c].eR=e(s,"^"+s.m[c].e)}if(s.m[c].i){s.m[c].iR=e(s,"^(?:"+s.m[c].i+")")}s.dM.iR=e(s,"^(?:"+s.dM.i+")");if(s.m[c].r==undefined){s.m[c].r=1}}}}function f(){function s(v){if(!v.keywordGroups){for(var u in v.k){if(!v.k.hasOwnProperty(u)){continue}if(v.k[u] instanceof Object){v.keywordGroups=v.k}else{v.keywordGroups={keyword:v.k}}break}}}for(var r in p){if(!p.hasOwnProperty(r)){continue}var t=p[r];s(t.dM);for(var c=0;c<t.m.length;c++){s(t.m[c])}}}function i(r){for(var c=0;c<r.childNodes.length;c++){node=r.childNodes[c];if(node.nodeName=="CODE"){return node}if(!(node.nodeType==3&&node.nodeValue.match(/\s+/))){return null}}}function l(){if(l.called){return}l.called=true;j();f();if(arguments.length){for(var c=0;c<arguments.length;c++){if(p[arguments[c]]){a[arguments[c]]=p[arguments[c]]}}}else{a=p}var s=document.getElementsByTagName("pre");for(var c=0;c<s.length;c++){var r=i(s[c]);if(r){q(r,hljs.tabReplace)}}}function o(){var c=arguments;var r=function(){l.apply(null,c)};if(window.addEventListener){window.addEventListener("DOMContentLoaded",r,false);window.addEventListener("load",r,false)}else{if(window.attachEvent){window.attachEvent("onload",r)}else{window.onload=r}}}this.LANGUAGES=p;this.initHighlightingOnLoad=o;this.highlightBlock=q;this.initHighlighting=l;this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:["escape"],r:0};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:["escape"],r:0};this.BE={cN:"escape",b:"\\\\.",e:"^",nM:true,r:0};this.CLCM={cN:"comment",b:"//",e:"$",r:0};this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"};this.HCM={cN:"comment",b:"#",e:"$"};this.CNM={cN:"number",b:this.CNR,e:"^",r:0}}();var initHighlightingOnLoad=hljs.initHighlightingOnLoad;hljs.LANGUAGES["1c"]=function(){var a="[a-zA-Zа-яА-Я][a-zA-Z0-9_а-яА-Я]*";var c={"возврат":1,"дата":1,"для":1,"если":1,"и":1,"или":1,"иначе":1,"иначеесли":1,"исключение":1,"конецесли":1,"конецпопытки":1,"конецпроцедуры":1,"конецфункции":1,"конеццикла":1,"константа":1,"не":1,"перейти":1,"перем":1,"перечисление":1,"по":1,"пока":1,"попытка":1,"прервать":1,"продолжить":1,"процедура":1,"строка":1,"тогда":1,"фс":1,"функция":1,"цикл":1,"число":1,"экспорт":1};var b={ansitooem:1,oemtoansi:1,"ввестивидсубконто":1,"ввестидату":1,"ввестизначение":1,"ввестиперечисление":1,"ввестипериод":1,"ввестиплансчетов":1,"ввестистроку":1,"ввестичисло":1,"вопрос":1,"восстановитьзначение":1,"врег":1,"выбранныйплансчетов":1,"вызватьисключение":1,"датагод":1,"датамесяц":1,"датачисло":1,"добавитьмесяц":1,"завершитьработусистемы":1,"заголовоксистемы":1,"записьжурналарегистрации":1,"запуститьприложение":1,"зафиксироватьтранзакцию":1,"значениевстроку":1,"значениевстрокувнутр":1,"значениевфайл":1,"значениеизстроки":1,"значениеизстрокивнутр":1,"значениеизфайла":1,"имякомпьютера":1,"имяпользователя":1,"каталогвременныхфайлов":1,"каталогиб":1,"каталогпользователя":1,"каталогпрограммы":1,"кодсимв":1,"командасистемы":1,"конгода":1,"конецпериодаби":1,"конецрассчитанногопериодаби":1,"конецстандартногоинтервала":1,"конквартала":1,"конмесяца":1,"коннедели":1,"лев":1,"лог":1,"лог10":1,"макс":1,"максимальноеколичествосубконто":1,"мин":1,"монопольныйрежим":1,"названиеинтерфейса":1,"названиенабораправ":1,"назначитьвид":1,"назначитьсчет":1,"найти":1,"найтипомеченныенаудаление":1,"найтиссылки":1,"началопериодаби":1,"началостандартногоинтервала":1,"начатьтранзакцию":1,"начгода":1,"начквартала":1,"начмесяца":1,"начнедели":1,"номерднягода":1,"номерднянедели":1,"номернеделигода":1,"нрег":1,"обработкаожидания":1,"окр":1,"описаниеошибки":1,"основнойжурналрасчетов":1,"основнойплансчетов":1,"основнойязык":1,"открытьформу":1,"открытьформумодально":1,"отменитьтранзакцию":1,"очиститьокносообщений":1,"периодстр":1,"полноеимяпользователя":1,"получитьвремята":1,"получитьдатута":1,"получитьдокументта":1,"получитьзначенияотбора":1,"получитьпозициюта":1,"получитьпустоезначение":1,"получитьта":1,"прав":1,"праводоступа":1,"предупреждение":1,"префиксавтонумерации":1,"пустаястрока":1,"пустоезначение":1,"рабочаядаттьпустоезначение":1,"получитьта":1,"прав":1,"праводоступа":1,"предупреждение":1,"префиксавтонумерации":1,"пустаястрока":1,"пустоезначение":1,"рабочаядата":1,"разделительстраниц":1,"разделительстрок":1,"разм":1,"разобратьпозициюдокумента":1,"рассчитатьрегистрына":1,"рассчитатьрегистрыпо":1,"сигнал":1,"симв":1,"символтабуляции":1,"создатьобъект":1,"сокрл":1,"сокрлп":1,"сокрп":1," сообщить":1,"состояние":1,"сохранитьзначение":1,"сред":1,"статусвозврата":1,"стрдлина":1,"стрзаменить":1,"стрколичествострок":1,"стрполучитьстроку":1," стрчисловхождений":1,"сформироватьпозициюдокумента":1,"счетпокоду":1,"текущаядата":1,"текущеевремя":1,"типзначения":1,"типзначениястр":1,"удалитьобъекты":1,"установитьтана":1,"установитьтапо":1,"фиксшаблон":1,"формат":1,"цел":1,"шаблон":1};return{dM:{l:[a],c:["comment","string","function","preprocessor","number","date"],k:{keyword:c,built_in:b}},cI:true,m:[hljs.CLCM,{cN:"string",b:'"',e:'"',c:["dquote"],r:0},{cN:"string",b:'"',e:"$",c:["dquote"]},{cN:"string",b:"\\|",e:"$",c:["dquote"]},{cN:"string",b:"\\|",e:'"',c:["dquote"]},{cN:"date",b:"'\\d{2}\\.\\d{2}\\.(\\d{2}|\\d{4})'",e:"^"},{cN:"dquote",b:'""',e:"^"},{cN:"number",b:hljs.NR,e:"^",r:0},{cN:"title",l:[a],b:a,e:"^"},{cN:"params",b:"\\(",e:"\\)",l:[a],k:{"знач":1},c:["string"]},{cN:"function",b:"(процедура|функция)",e:"$",l:[a],k:{"процедура":1,"экспорт":1,"функция":1},c:["title","tail","comment"],r:0},{cN:"tail",b:"^",eW:true,l:[a],c:["params","export"]},{cN:"export",b:"экспорт",eW:true,l:[a],k:{"экспорт":1},c:["comment"]},{cN:"preprocessor",b:"#",e:"$",l:[a]}]}}();hljs.LANGUAGES.cpp=function(){var a={keyword:{"false":1,"int":1,"float":1,"while":1,"private":1,"char":1,"catch":1,"export":1,virtual:1,operator:2,sizeof:2,dynamic_cast:2,typedef:2,const_cast:2,"const":1,struct:1,"for":1,static_cast:2,union:1,namespace:1,unsigned:1,"long":1,"throw":1,"volatile":2,"static":1,"protected":1,bool:1,template:1,mutable:1,"if":1,"public":1,friend:2,"do":1,"return":1,"goto":1,auto:1,"void":2,"enum":1,"else":1,"break":1,"new":1,extern:1,using:1,"true":1,"class":1,asm:1,"case":1,typeid:1,"short":1,reinterpret_cast:2,"default":1,"double":1,register:1,explicit:1,signed:1,typename:1,"try":1,"this":1,"switch":1,"continue":1,wchar_t:1,inline:1,"delete":1},built_in:{std:1,string:1,cin:1,cout:1,cerr:1,clog:1,stringstream:1,istringstream:1,ostringstream:1,auto_ptr:1,deque:1,list:1,queue:1,stack:1,vector:1,map:1,set:1,bitset:1,multiset:1,multimap:1}};return{dM:{l:[hljs.UIR],i:"</",c:["comment","string","number","preprocessor","stl_container"],k:a},m:[hljs.CLCM,hljs.CBLCLM,hljs.CNM,hljs.QSM,hljs.BE,{cN:"string",b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"},{cN:"preprocessor",b:"#",e:"$"},{cN:"stl_container",b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap)\\s*<",e:">",c:["stl_container"],l:[hljs.UIR],k:a,r:10}]}}();hljs.LANGUAGES.javascript={dM:{l:[hljs.UIR],c:["string","comment","number","regexp_container","function"],k:{keyword:{"in":1,"if":1,"for":1,"while":1,"finally":1,"var":1,"new":1,"function":1,"do":1,"return":1,"void":1,"else":1,"break":1,"catch":1,"instanceof":1,"with":1,"throw":1,"case":1,"default":1,"try":1,"this":1,"switch":1,"continue":1,"typeof":1,"delete":1},literal:{"true":1,"false":1,"null":1}}},m:[hljs.CLCM,hljs.CBLCLM,hljs.CNM,hljs.ASM,hljs.QSM,hljs.BE,{cN:"regexp_container",b:"("+hljs.RSR+"|case|return|throw)\\s*",e:"^",nM:true,l:[hljs.IR],k:{"return":1,"throw":1,"case":1},c:["comment","regexp"],r:0},{cN:"regexp",b:"/.*?[^\\\\/]/[gim]*",e:"^"},{cN:"function",b:"\\bfunction\\b",e:"{",l:[hljs.UIR],k:{"function":1},c:["title","params"]},{cN:"title",b:"[A-Za-z$_][0-9A-Za-z$_]*",e:"^"},{cN:"params",b:"\\(",e:"\\)",c:["string","comment"]}]};hljs.LANGUAGES.ruby=function(){var a="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?";var b=["comment","string","char","class","function","module_name","symbol","number","variable","regexp_container"];var c={keyword:{and:1,"false":1,then:1,defined:1,module:1,"in":1,"return":1,redo:1,"if":1,BEGIN:1,retry:1,end:1,"for":1,"true":1,self:1,when:1,next:1,until:1,"do":1,begin:1,unless:1,END:1,rescue:1,nil:1,"else":1,"break":1,undef:1,not:1,"super":1,"class":1,"case":1,require:1,yield:1,alias:1,"while":1,ensure:1,elsif:1,or:1,def:1},keymethods:{__id__:1,__send__:1,abort:1,abs:1,"all?":1,allocate:1,ancestors:1,"any?":1,arity:1,assoc:1,at:1,at_exit:1,autoload:1,"autoload?":1,"between?":1,binding:1,binmode:1,"block_given?":1,call:1,callcc:1,caller:1,capitalize:1,"capitalize!":1,casecmp:1,"catch":1,ceil:1,center:1,chomp:1,"chomp!":1,chop:1,"chop!":1,chr:1,"class":1,class_eval:1,"class_variable_defined?":1,class_variables:1,clear:1,clone:1,close:1,close_read:1,close_write:1,"closed?":1,coerce:1,collect:1,"collect!":1,compact:1,"compact!":1,concat:1,"const_defined?":1,const_get:1,const_missing:1,const_set:1,constants:1,count:1,crypt:1,"default":1,default_proc:1,"delete":1,"delete!":1,delete_at:1,delete_if:1,detect:1,display:1,div:1,divmod:1,downcase:1,"downcase!":1,downto:1,dump:1,dup:1,each:1,each_byte:1,each_index:1,each_key:1,each_line:1,each_pair:1,each_value:1,each_with_index:1,"empty?":1,entries:1,eof:1,"eof?":1,"eql?":1,"equal?":1,"eval":1,exec:1,exit:1,"exit!":1,extend:1,fail:1,fcntl:1,fetch:1,fileno:1,fill:1,find:1,find_all:1,first:1,flatten:1,"flatten!":1,floor:1,flush:1,for_fd:1,foreach:1,fork:1,format:1,freeze:1,"frozen?":1,fsync:1,getc:1,gets:1,global_variables:1,grep:1,gsub:1,"gsub!":1,"has_key?":1,"has_value?":1,hash:1,hex:1,id:1,"include?":1,included_modules:1,index:1,indexes:1,indices:1,induced_from:1,inject:1,insert:1,inspect:1,instance_eval:1,instance_method:1,instance_methods:1,"instance_of?":1,"instance_variable_defined?":1,instance_variable_get:1,instance_variable_set:1,instance_variables:1,"integer?":1,intern:1,invert:1,ioctl:1,"is_a?":1,isatty:1,"iterator?":1,join:1,"key?":1,keys:1,"kind_of?":1,lambda:1,last:1,length:1,lineno:1,ljust:1,load:1,local_variables:1,loop:1,lstrip:1,"lstrip!":1,map:1,"map!":1,match:1,max:1,"member?":1,merge:1,"merge!":1,method:1,"method_defined?":1,method_missing:1,methods:1,min:1,module_eval:1,modulo:1,name:1,nesting:1,"new":1,next:1,"next!":1,"nil?":1,nitems:1,"nonzero?":1,object_id:1,oct:1,open:1,pack:1,partition:1,pid:1,pipe:1,pop:1,popen:1,pos:1,prec:1,prec_f:1,prec_i:1,print:1,printf:1,private_class_method:1,private_instance_methods:1,"private_method_defined?":1,private_methods:1,proc:1,protected_instance_methods:1,"protected_method_defined?":1,protected_methods:1,public_class_method:1,public_instance_methods:1,"public_method_defined?":1,public_methods:1,push:1,putc:1,puts:1,quo:1,raise:1,rand:1,rassoc:1,read:1,read_nonblock:1,readchar:1,readline:1,readlines:1,readpartial:1,rehash:1,reject:1,"reject!":1,remainder:1,reopen:1,replace:1,require:1,"respond_to?":1,reverse:1,"reverse!":1,reverse_each:1,rewind:1,rindex:1,rjust:1,round:1,rstrip:1,"rstrip!":1,scan:1,seek:1,select:1,send:1,set_trace_func:1,shift:1,singleton_method_added:1,singleton_methods:1,size:1,sleep:1,slice:1,"slice!":1,sort:1,"sort!":1,sort_by:1,split:1,sprintf:1,squeeze:1,"squeeze!":1,srand:1,stat:1,step:1,store:1,strip:1,"strip!":1,sub:1,"sub!":1,succ:1,"succ!":1,sum:1,superclass:1,swapcase:1,"swapcase!":1,sync:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,taint:1,"tainted?":1,tell:1,test:1,"throw":1,times:1,to_a:1,to_ary:1,to_f:1,to_hash:1,to_i:1,to_int:1,to_io:1,to_proc:1,to_s:1,to_str:1,to_sym:1,tr:1,"tr!":1,tr_s:1,"tr_s!":1,trace_var:1,transpose:1,trap:1,truncate:1,"tty?":1,type:1,ungetc:1,uniq:1,"uniq!":1,unpack:1,unshift:1,untaint:1,untrace_var:1,upcase:1,"upcase!":1,update:1,upto:1,"value?":1,values:1,values_at:1,warn:1,write:1,write_nonblock:1,"zero?":1,zip:1}};return{dM:{l:[a],c:b,k:c},m:[hljs.HCM,{cN:"comment",b:"^\\=begin",e:"^\\=end",r:10},{cN:"comment",b:"^__END__",e:"\\n$"},{cN:"params",b:"\\(",e:"\\)",l:[a],k:c,c:b},{cN:"function",b:"\\bdef\\b",e:"$|;",l:[a],k:c,c:["title","params","comment"]},{cN:"class",b:"\\b(class|module)\\b",e:"$",l:[hljs.UIR],k:c,c:["title","inheritance","comment"],k:{"class":1,module:1}},{cN:"title",b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?",e:"^",r:0},{cN:"inheritance",b:"<\\s*",e:"^",c:["parent"]},{cN:"parent",b:"("+hljs.IR+"::)?"+hljs.IR,e:"^"},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",e:"^",r:0},{cN:"number",b:"\\?\\w",e:"^"},{cN:"string",b:"'",e:"'",c:["escape","subst"],r:0},{cN:"string",b:'"',e:'"',c:["escape","subst"],r:0},{cN:"string",b:"%[qw]?\\(",e:"\\)",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?\\[",e:"\\]",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?{",e:"}",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?<",e:">",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?/",e:"/",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?%",e:"%",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?-",e:"-",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?\\|",e:"\\|",c:["escape","subst"],r:10},{cN:"module_name",b:":{2}"+a,e:"^",nM:true},{cN:"symbol",b:":"+a,e:"^"},{cN:"symbol",b:":",e:"^",c:["string"]},hljs.BE,{cN:"subst",b:"#\\{",e:"}",l:[a],k:c,c:b},{cN:"regexp_container",b:"("+hljs.RSR+")\\s*",e:"^",nM:true,c:["comment","regexp"],r:0},{cN:"regexp",b:"/",e:"/[a-z]*",i:"\\n",c:["escape"]},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))",e:"^"}]}}();hljs.LANGUAGES.sql={cI:true,dM:{l:[hljs.IR],c:["string","number","comment"],k:{keyword:{all:1,partial:1,global:1,month:1,current_timestamp:1,using:1,go:1,revoke:1,smallint:1,indicator:1,"end-exec":1,disconnect:1,zone:1,"with":1,character:1,assertion:1,to:1,add:1,current_user:1,usage:1,input:1,local:1,alter:1,match:1,collate:1,real:1,then:1,rollback:1,get:1,read:1,timestamp:1,session_user:1,not:1,integer:1,bit:1,unique:1,day:1,minute:1,desc:1,insert:1,execute:1,like:1,ilike:2,level:1,decimal:1,drop:1,"continue":1,isolation:1,found:1,where:1,constraints:1,domain:1,right:1,national:1,some:1,module:1,transaction:1,relative:1,second:1,connect:1,escape:1,close:1,system_user:1,"for":1,deferred:1,section:1,cast:1,current:1,sqlstate:1,allocate:1,intersect:1,deallocate:1,numeric:1,"public":1,preserve:1,full:1,"goto":1,initially:1,asc:1,no:1,key:1,output:1,collation:1,group:1,by:1,union:1,session:1,both:1,last:1,language:1,constraint:1,column:1,of:1,space:1,foreign:1,deferrable:1,prior:1,connection:1,unknown:1,action:1,commit:1,view:1,or:1,first:1,into:1,"float":1,year:1,primary:1,cascaded:1,except:1,restrict:1,set:1,references:1,names:1,table:1,outer:1,open:1,select:1,size:1,are:1,rows:1,from:1,prepare:1,distinct:1,leading:1,create:1,only:1,next:1,inner:1,authorization:1,schema:1,corresponding:1,option:1,declare:1,precision:1,immediate:1,"else":1,timezone_minute:1,external:1,varying:1,translation:1,"true":1,"case":1,exception:1,join:1,hour:1,"default":1,"double":1,scroll:1,value:1,cursor:1,descriptor:1,values:1,dec:1,fetch:1,procedure:1,"delete":1,and:1,"false":1,"int":1,is:1,describe:1,"char":1,as:1,at:1,"in":1,varchar:1,"null":1,trailing:1,any:1,absolute:1,current_time:1,end:1,grant:1,privileges:1,when:1,cross:1,check:1,write:1,current_date:1,pad:1,begin:1,temporary:1,exec:1,time:1,update:1,catalog:1,user:1,sql:1,date:1,on:1,identity:1,timezone_hour:1,natural:1,whenever:1,interval:1,work:1,order:1,cascade:1,diagnostics:1,nchar:1,having:1,left:1},aggregate:{count:1,sum:1,min:1,max:1,avg:1}}},m:[hljs.CNM,hljs.CBLCLM,{cN:"comment",b:"--",e:"$"},{cN:"string",b:"'",e:"'",c:["escape","squote"],r:0},{cN:"squote",b:"''",e:"^",nM:true},{cN:"string",b:'"',e:'"',c:["escape","dquote"],r:0},{cN:"dquote",b:'""',e:"^",nM:true},{cN:"string",b:"`",e:"`",c:["escape"]},hljs.BE]};hljs.LANGUAGES.java={dM:{l:[hljs.UIR],c:["javadoc","comment","string","class","number","annotation"],k:{"false":1,"synchronized":1,"int":1,"abstract":1,"float":1,"private":1,"char":1,"interface":1,"boolean":1,"static":1,"null":1,"if":1,"const":1,"for":1,"true":1,"while":1,"long":1,"throw":1,strictfp:1,"finally":1,"protected":1,"extends":1,"import":1,"native":1,"final":1,"implements":1,"return":1,"void":1,"enum":1,"else":1,"break":1,"transient":1,"new":1,"catch":1,"instanceof":1,"byte":1,"super":1,"class":1,"volatile":1,"case":1,assert:1,"short":1,"package":1,"default":1,"double":1,"public":1,"try":1,"this":1,"switch":1,"continue":1,"throws":1}},m:[{cN:"class",l:[hljs.UIR],b:"(class |interface )",e:"{",i:":",k:{"class":1,"interface":1},c:["inheritance","title"]},{cN:"inheritance",b:"(implements|extends)",e:"^",nM:true,l:[hljs.IR],k:{"extends":1,"implements":1},r:10},{cN:"title",b:hljs.UIR,e:"^"},{cN:"params",b:"\\(",e:"\\)",c:["string","annotation"]},hljs.CNM,hljs.ASM,hljs.QSM,hljs.BE,hljs.CLCM,{cN:"javadoc",b:"/\\*\\*",e:"\\*/",c:["javadoctag"],r:10},{cN:"javadoctag",b:"@[A-Za-z]+",e:"^"},hljs.CBLCLM,{cN:"annotation",b:"@[A-Za-z]+",e:"^"}]};hljs.XML_COMMENT={cN:"comment",b:"<!--",e:"-->"};hljs.XML_ATTR={cN:"attribute",b:"\\s[a-zA-Z\\:-]+=",e:"^",c:["value"]};hljs.XML_VALUE_QUOT={cN:"value",b:'"',e:'"'};hljs.XML_VALUE_APOS={cN:"value",b:"'",e:"'"};hljs.LANGUAGES.xml={dM:{c:["pi","comment","cdata","tag"]},cI:true,m:[{cN:"pi",b:"<\\?",e:"\\?>",r:10},hljs.XML_COMMENT,{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>"},{cN:"tag",b:"</?",e:">",c:["title","tag_internal"],r:1.5},{cN:"title",b:"[A-Za-z:_][A-Za-z0-9\\._:-]+",e:"^",r:0},{cN:"tag_internal",b:"^",eW:true,nM:true,c:["attribute"],r:0,i:"[\\+\\.]"},hljs.XML_ATTR,hljs.XML_VALUE_QUOT,hljs.XML_VALUE_APOS]};hljs.HTML_TAGS={code:1,kbd:1,font:1,noscript:1,style:1,img:1,title:1,menu:1,tt:1,tr:1,param:1,li:1,tfoot:1,th:1,input:1,td:1,dl:1,blockquote:1,fieldset:1,big:1,dd:1,abbr:1,optgroup:1,dt:1,button:1,isindex:1,p:1,small:1,div:1,dir:1,em:1,frame:1,meta:1,sub:1,bdo:1,label:1,acronym:1,sup:1,body:1,xml:1,basefont:1,base:1,br:1,address:1,strong:1,legend:1,ol:1,script:1,caption:1,s:1,col:1,h2:1,h3:1,h1:1,h6:1,h4:1,h5:1,table:1,select:1,noframes:1,span:1,area:1,dfn:1,strike:1,cite:1,thead:1,head:1,option:1,form:1,hr:1,"var":1,link:1,b:1,colgroup:1,ul:1,applet:1,del:1,iframe:1,pre:1,frameset:1,ins:1,tbody:1,html:1,samp:1,map:1,object:1,a:1,xmlns:1,center:1,textarea:1,i:1,q:1,u:1};hljs.HTML_DOCTYPE={cN:"doctype",b:"<!DOCTYPE",e:">",r:10};hljs.HTML_ATTR={cN:"attribute",b:"\\s[a-zA-Z\\:-]+=",e:"^",c:["value"]};hljs.HTML_SHORT_ATTR={cN:"attribute",b:" [a-zA-Z]+",e:"^"};hljs.HTML_VALUE={cN:"value",b:"[a-zA-Z0-9]+",e:"^"};hljs.LANGUAGES.html={dM:{c:["tag","comment","doctype","vbscript"]},cI:true,m:[hljs.XML_COMMENT,hljs.HTML_DOCTYPE,{cN:"tag",l:[hljs.IR],k:hljs.HTML_TAGS,b:"<style",e:">",c:["attribute"],i:"[\\+\\.]",starts:"css"},{cN:"tag",l:[hljs.IR],k:hljs.HTML_TAGS,b:"<script",e:">",c:["attribute"],i:"[\\+\\.]",starts:"javascript"},{cN:"tag",l:[hljs.IR],k:hljs.HTML_TAGS,b:"<[A-Za-z/]",e:">",c:["attribute"],i:"[\\+\\.]"},{cN:"css",e:"</style>",rE:true,subLanguage:"css"},{cN:"javascript",e:"<\/script>",rE:true,subLanguage:"javascript"},hljs.HTML_ATTR,hljs.HTML_SHORT_ATTR,hljs.XML_VALUE_QUOT,hljs.XML_VALUE_APOS,hljs.HTML_VALUE,{cN:"vbscript",b:"<%",e:"%>",subLanguage:"vbscript"}]};hljs.LANGUAGES.bash=function(){var a={"true":1,"false":1};return{dM:{l:[hljs.IR],c:["string","shebang","comment","number","test_condition","string","variable"],k:{keyword:{"if":1,then:1,"else":1,fi:1,"for":1,"break":1,"continue":1,"while":1,"in":1,"do":1,done:1,echo:1,exit:1,"return":1,set:1,declare:1},literal:a}},cI:false,m:[{cN:"shebang",b:"(#!\\/bin\\/bash)|(#!\\/bin\\/sh)",e:"^",r:10},hljs.HCM,{cN:"test_condition",b:"\\[ ",e:" \\]",c:["string","variable","number"],l:[hljs.IR],k:{literal:a},r:0},{cN:"test_condition",b:"\\[\\[ ",e:" \\]\\]",c:["string","variable","number"],l:[hljs.IR],k:{literal:a}},{cN:"variable",b:"\\$([a-zA-Z0-9_]+)\\b",e:"^"},{cN:"variable",b:"\\$\\{(([^}])|(\\\\}))+\\}",e:"^",c:["number"]},{cN:"string",b:'"',e:'"',i:"\\n",c:["escape","variable"],r:0},{cN:"string",b:'"',e:'"',i:"\\n",c:["escape","variable"],r:0},hljs.BE,hljs.CNM,{cN:"comment",b:"\\/\\/",e:"$",i:"."}]}}();
View
95 rdoc/assets/highlight/languages/1c.js
@@ -1,95 +0,0 @@
-/*
-Language: 1C
-Author: Yuri Ivanov <ivanov@supersoft.ru>
-Contributors: Sergey Baranov <segyrn@yandex.ru>
-*/
-
-hljs.LANGUAGES['1c'] = function(){
- var IDENT_RE_RU = '[a-zA-Zа-яА-Я][a-zA-Z0-9_а-яА-Я]*';
- var OneS_KEYWORDS = {'возврат':1,'дата':1,'для':1,'если':1,'и':1,'или':1,'иначе':1,'иначеесли':1,'исключение':1,'конецесли':1,'конецпопытки':1,'конецпроцедуры':1,'конецфункции':1,'конеццикла':1,'константа':1,'не':1,'перейти':1,'перем':1,'перечисление':1,'по':1,'пока':1,'попытка':1,'прервать':1,'продолжить':1,'процедура':1,'строка':1,'тогда':1,'фс':1,'функция':1,'цикл':1,'число':1,'экспорт':1};
- var OneS_BUILT_IN = {'ansitooem':1,'oemtoansi':1,'ввестивидсубконто':1,'ввестидату':1,'ввестизначение':1,'ввестиперечисление':1,'ввестипериод':1,'ввестиплансчетов':1,'ввестистроку':1,'ввестичисло':1,'вопрос':1,'восстановитьзначение':1,'врег':1,'выбранныйплансчетов':1,'вызватьисключение':1,'датагод':1,'датамесяц':1,'датачисло':1,'добавитьмесяц':1,'завершитьработусистемы':1,'заголовоксистемы':1,'записьжурналарегистрации':1,'запуститьприложение':1,'зафиксироватьтранзакцию':1,'значениевстроку':1,'значениевстрокувнутр':1,'значениевфайл':1,'значениеизстроки':1,'значениеизстрокивнутр':1,'значениеизфайла':1,'имякомпьютера':1,'имяпользователя':1,'каталогвременныхфайлов':1,'каталогиб':1,'каталогпользователя':1,'каталогпрограммы':1,'кодсимв':1,'командасистемы':1,'конгода':1,'конецпериодаби':1,'конецрассчитанногопериодаби':1,'конецстандартногоинтервала':1,'конквартала':1,'конмесяца':1,'коннедели':1,'лев':1,'лог':1,'лог10':1,'макс':1,'максимальноеколичествосубконто':1,'мин':1,'монопольныйрежим':1,'названиеинтерфейса':1,'названиенабораправ':1,'назначитьвид':1,'назначитьсчет':1,'найти':1,'найтипомеченныенаудаление':1,'найтиссылки':1,'началопериодаби':1,'началостандартногоинтервала':1,'начатьтранзакцию':1,'начгода':1,'начквартала':1,'начмесяца':1,'начнедели':1,'номерднягода':1,'номерднянедели':1,'номернеделигода':1,'нрег':1,'обработкаожидания':1,'окр':1,'описаниеошибки':1,'основнойжурналрасчетов':1,'основнойплансчетов':1,'основнойязык':1,'открытьформу':1,'открытьформумодально':1,'отменитьтранзакцию':1,'очиститьокносообщений':1,'периодстр':1,'полноеимяпользователя':1,'получитьвремята':1,'получитьдатута':1,'получитьдокументта':1,'получитьзначенияотбора':1,'получитьпозициюта':1,'получитьпустоезначение':1,'получитьта':1,'прав':1,'праводоступа':1,'предупреждение':1,'префиксавтонумерации':1,'пустаястрока':1,'пустоезначение':1,'рабочаядаттьпустоезначение':1,'получитьта':1,'прав':1,'праводоступа':1,'предупреждение':1,'префиксавтонумерации':1,'пустаястрока':1,'пустоезначение':1,'рабочаядата':1,'разделительстраниц':1,'разделительстрок':1,'разм':1,'разобратьпозициюдокумента':1,'рассчитатьрегистрына':1,'рассчитатьрегистрыпо':1,'сигнал':1,'симв':1,'символтабуляции':1,'создатьобъект':1,'сокрл':1,'сокрлп':1,'сокрп':1,' сообщить':1,'состояние':1,'сохранитьзначение':1,'сред':1,'статусвозврата':1,'стрдлина':1,'стрзаменить':1,'стрколичествострок':1,'стрполучитьстроку':1,' стрчисловхождений':1,'сформироватьпозициюдокумента':1,'счетпокоду':1,'текущаядата':1,'текущеевремя':1,'типзначения':1,'типзначениястр':1,'удалитьобъекты':1,'установитьтана':1,'установитьтапо':1,'фиксшаблон':1,'формат':1,'цел':1,'шаблон':1};
-
- return {
- defaultMode: {
- lexems: [IDENT_RE_RU],
- contains: ['comment', 'string', 'function', 'preprocessor', 'number', 'date'],
- keywords: {'keyword':OneS_KEYWORDS,'built_in':OneS_BUILT_IN}
- },
- case_insensitive: true,
- modes: [
- hljs.C_LINE_COMMENT_MODE,
- {
- className: 'string',
- begin: '"', end: '"',
- contains: ['dquote'],
- relevance: 0
- },
- {
- className: 'string',
- begin: '"', end: '$',
- contains: ['dquote']
- },
- {
- className: 'string',
- begin: '\\|', end: '$',
- contains: ['dquote']
- },
- {
- className: 'string',
- begin: '\\|', end: '"',
- contains: ['dquote']
- },
- {
- className: 'date',
- begin: '\'\\d{2}\\.\\d{2}\\.(\\d{2}|\\d{4})\'', end: '^'
- },
- {
- className: 'dquote',
- begin: '""', end: '^'
- },
- {
- className: 'number',
- begin: hljs.NUMBER_RE, end: '^',
- relevance: 0
- },
- {
- className: 'title',
- lexems: [IDENT_RE_RU],
- begin: IDENT_RE_RU, end: '^'
- },
- {
- className: 'params',
- begin: '\\(', end: '\\)',
- lexems: [IDENT_RE_RU],
- keywords: {'знач':1},
- contains: ['string']
- },
- {
- className: 'function',
- begin: '(процедура|функция)', end: '$',
- lexems: [IDENT_RE_RU],
- keywords: {'процедура': 1, 'экспорт': 1, 'функция': 1},
- contains: ['title','tail','comment'],
- relevance: 0
- },
- {
- className: 'tail',
- begin: '^', endsWithParent: true,
- lexems: [IDENT_RE_RU],
- contains: ['params', 'export']
- },
- {
- className: 'export',
- begin: 'экспорт', endsWithParent: true,
- lexems: [IDENT_RE_RU],
- keywords: {'экспорт': 1},
- contains: ['comment']
- },
- {
- className: 'preprocessor',
- begin: '#', end: '$',
- lexems: [IDENT_RE_RU]
- }
- ]
- };
-}();
View
442 rdoc/assets/highlight/languages/apache.js
@@ -1,442 +0,0 @@
-/*
-Language: Apache
-Author: Ruslan Keba <rukeba@gmail.com>
-Website: http://rukeba.com/
-Description: language definition for Apache configuration files (httpd.conf & .htaccess)
-Version 1.1
-Date: 2008-12-27
-*/
-
-hljs.LANGUAGES.apache =
-{
- case_insensitive: true,
- defaultMode: {
- lexems: [hljs.IDENT_RE],
- contains: ['comment', 'sqbracket', 'cbracket', 'number', 'tag', 'string'],
- keywords: {
- 'keyword': {
- 'acceptfilter': 1,
- 'acceptmutex': 1,
- 'acceptpathinfo': 1,
- 'accessfilename': 1,
- 'action': 1,
- 'addalt': 1,
- 'addaltbyencoding': 1,
- 'addaltbytype': 1,
- 'addcharset': 1,
- 'adddefaultcharset': 1,
- 'adddescription': 1,
- 'addencoding': 1,
- 'addhandler': 1,
- 'addicon': 1,
- 'addiconbyencoding': 1,
- 'addiconbytype': 1,
- 'addinputfilter': 1,
- 'addlanguage': 1,
- 'addmoduleinfo': 1,
- 'addoutputfilter': 1,
- 'addoutputfilterbytype': 1,
- 'addtype': 1,
- 'alias': 1,
- 'aliasmatch': 1,
- 'allow': 1,
- 'allowconnect': 1,
- 'allowencodedslashes': 1,
- 'allowoverride': 1,
- 'anonymous': 1,
- 'anonymous_logemail': 1,
- 'anonymous_mustgiveemail': 1,
- 'anonymous_nouserid': 1,
- 'anonymous_verifyemail': 1,
- 'authbasicauthoritative': 1,
- 'authbasicprovider': 1,
- 'authdbduserpwquery': 1,
- 'authdbduserrealmquery': 1,
- 'authdbmgroupfile': 1,
- 'authdbmtype': 1,
- 'authdbmuserfile': 1,
- 'authdefaultauthoritative': 1,
- 'authdigestalgorithm': 1,
- 'authdigestdomain': 1,
- 'authdigestnccheck': 1,
- 'authdigestnonceformat': 1,
- 'authdigestnoncelifetime': 1,
- 'authdigestprovider': 1,
- 'authdigestqop': 1,
- 'authdigestshmemsize': 1,
- 'authgroupfile': 1,
- 'authldapbinddn': 1,
- 'authldapbindpassword': 1,
- 'authldapcharsetconfig': 1,
- 'authldapcomparednonserver': 1,
- 'authldapdereferencealiases': 1,
- 'authldapgroupattribute': 1,
- 'authldapgroupattributeisdn': 1,
- 'authldapremoteuserattribute': 1,
- 'authldapremoteuserisdn': 1,
- 'authldapurl': 1,
- 'authname': 1,
- 'authnprovideralias': 1,
- 'authtype': 1,
- 'authuserfile': 1,
- 'authzdbmauthoritative': 1,
- 'authzdbmtype': 1,
- 'authzdefaultauthoritative': 1,
- 'authzgroupfileauthoritative': 1,
- 'authzldapauthoritative': 1,
- 'authzownerauthoritative': 1,
- 'authzuserauthoritative': 1,
- 'balancermember': 1,
- 'browsermatch': 1,
- 'browsermatchnocase': 1,
- 'bufferedlogs': 1,
- 'cachedefaultexpire': 1,
- 'cachedirlength': 1,
- 'cachedirlevels': 1,
- 'cachedisable': 1,
- 'cacheenable': 1,
- 'cachefile': 1,
- 'cacheignorecachecontrol': 1,
- 'cacheignoreheaders': 1,
- 'cacheignorenolastmod': 1,
- 'cacheignorequerystring': 1,
- 'cachelastmodifiedfactor': 1,
- 'cachemaxexpire': 1,
- 'cachemaxfilesize': 1,
- 'cacheminfilesize': 1,
- 'cachenegotiateddocs': 1,
- 'cacheroot': 1,
- 'cachestorenostore': 1,
- 'cachestoreprivate': 1,
- 'cgimapextension': 1,
- 'charsetdefault': 1,
- 'charsetoptions': 1,
- 'charsetsourceenc': 1,
- 'checkcaseonly': 1,
- 'checkspelling': 1,
- 'chrootdir': 1,
- 'contentdigest': 1,
- 'cookiedomain': 1,
- 'cookieexpires': 1,
- 'cookielog': 1,
- 'cookiename': 1,
- 'cookiestyle': 1,
- 'cookietracking': 1,
- 'coredumpdirectory': 1,
- 'customlog': 1,
- 'dav': 1,
- 'davdepthinfinity': 1,
- 'davgenericlockdb': 1,
- 'davlockdb': 1,
- 'davmintimeout': 1,
- 'dbdexptime': 1,
- 'dbdkeep': 1,
- 'dbdmax': 1,
- 'dbdmin': 1,
- 'dbdparams': 1,
- 'dbdpersist': 1,
- 'dbdpreparesql': 1,
- 'dbdriver': 1,
- 'defaulticon': 1,
- 'defaultlanguage': 1,
- 'defaulttype': 1,
- 'deflatebuffersize': 1,
- 'deflatecompressionlevel': 1,
- 'deflatefilternote': 1,
- 'deflatememlevel': 1,
- 'deflatewindowsize': 1,
- 'deny': 1,
- 'directoryindex': 1,
- 'directorymatch': 1,
- 'directoryslash': 1,
- 'documentroot': 1,
- 'dumpioinput': 1,
- 'dumpiologlevel': 1,
- 'dumpiooutput': 1,
- 'enableexceptionhook': 1,
- 'enablemmap': 1,
- 'enablesendfile': 1,
- 'errordocument': 1,
- 'errorlog': 1,
- 'example': 1,
- 'expiresactive': 1,
- 'expiresbytype': 1,
- 'expiresdefault': 1,
- 'extendedstatus': 1,
- 'extfilterdefine': 1,
- 'extfilteroptions': 1,
- 'fileetag': 1,
- 'filterchain': 1,
- 'filterdeclare': 1,
- 'filterprotocol': 1,
- 'filterprovider': 1,
- 'filtertrace': 1,
- 'forcelanguagepriority': 1,
- 'forcetype': 1,
- 'forensiclog': 1,
- 'gracefulshutdowntimeout': 1,
- 'group': 1,
- 'header': 1,
- 'headername': 1,
- 'hostnamelookups': 1,
- 'identitycheck': 1,
- 'identitychecktimeout': 1,
- 'imapbase': 1,
- 'imapdefault': 1,
- 'imapmenu': 1,
- 'include': 1,
- 'indexheadinsert': 1,
- 'indexignore': 1,
- 'indexoptions': 1,
- 'indexorderdefault': 1,
- 'indexstylesheet': 1,
- 'isapiappendlogtoerrors': 1,
- 'isapiappendlogtoquery': 1,
- 'isapicachefile': 1,
- 'isapifakeasync': 1,
- 'isapilognotsupported': 1,
- 'isapireadaheadbuffer': 1,
- 'keepalive': 1,
- 'keepalivetimeout': 1,
- 'languagepriority': 1,
- 'ldapcacheentries': 1,
- 'ldapcachettl': 1,
- 'ldapconnectiontimeout': 1,
- 'ldapopcacheentries': 1,
- 'ldapopcachettl': 1,
- 'ldapsharedcachefile': 1,
- 'ldapsharedcachesize': 1,
- 'ldaptrustedclientcert': 1,
- 'ldaptrustedglobalcert': 1,
- 'ldaptrustedmode': 1,
- 'ldapverifyservercert': 1,
- 'limitinternalrecursion': 1,
- 'limitrequestbody': 1,
- 'limitrequestfields': 1,
- 'limitrequestfieldsize': 1,
- 'limitrequestline': 1,
- 'limitxmlrequestbody': 1,
- 'listen': 1,
- 'listenbacklog': 1,
- 'loadfile': 1,
- 'loadmodule': 1,
- 'lockfile': 1,
- 'logformat': 1,
- 'loglevel': 1,
- 'maxclients': 1,
- 'maxkeepaliverequests': 1,
- 'maxmemfree': 1,
- 'maxrequestsperchild': 1,
- 'maxrequestsperthread': 1,
- 'maxspareservers': 1,
- 'maxsparethreads': 1,
- 'maxthreads': 1,
- 'mcachemaxobjectcount': 1,
- 'mcachemaxobjectsize': 1,
- 'mcachemaxstreamingbuffer': 1,
- 'mcacheminobjectsize': 1,
- 'mcacheremovalalgorithm': 1,
- 'mcachesize': 1,
- 'metadir': 1,
- 'metafiles': 1,
- 'metasuffix': 1,
- 'mimemagicfile': 1,
- 'minspareservers': 1,
- 'minsparethreads': 1,
- 'mmapfile': 1,
- 'mod_gzip_on': 1,
- 'mod_gzip_add_header_count': 1,
- 'mod_gzip_keep_workfiles': 1,
- 'mod_gzip_dechunk': 1,
- 'mod_gzip_min_http': 1,
- 'mod_gzip_minimum_file_size': 1,
- 'mod_gzip_maximum_file_size': 1,
- 'mod_gzip_maximum_inmem_size': 1,
- 'mod_gzip_temp_dir': 1,
- 'mod_gzip_item_include': 1,
- 'mod_gzip_item_exclude': 1,
- 'mod_gzip_command_version': 1,
- 'mod_gzip_can_negotiate': 1,
- 'mod_gzip_handle_methods': 1,
- 'mod_gzip_static_suffix': 1,
- 'mod_gzip_send_vary': 1,
- 'mod_gzip_update_static': 1,
- 'modmimeusepathinfo': 1,
- 'multiviewsmatch': 1,
- 'namevirtualhost': 1,
- 'noproxy': 1,
- 'nwssltrustedcerts': 1,
- 'nwsslupgradeable': 1,
- 'options': 1,
- 'order': 1,
- 'passenv': 1,
- 'pidfile': 1,
- 'protocolecho': 1,
- 'proxybadheader': 1,
- 'proxyblock': 1,
- 'proxydomain': 1,
- 'proxyerroroverride': 1,
- 'proxyftpdircharset': 1,
- 'proxyiobuffersize': 1,
- 'proxymaxforwards': 1,
- 'proxypass': 1,
- 'proxypassinterpolateenv': 1,
- 'proxypassmatch': 1,
- 'proxypassreverse': 1,
- 'proxypassreversecookiedomain': 1,
- 'proxypassreversecookiepath': 1,
- 'proxypreservehost': 1,
- 'proxyreceivebuffersize': 1,
- 'proxyremote': 1,
- 'proxyremotematch': 1,
- 'proxyrequests': 1,
- 'proxyset': 1,
- 'proxystatus': 1,
- 'proxytimeout': 1,
- 'proxyvia': 1,
- 'readmename': 1,
- 'receivebuffersize': 1,
- 'redirect': 1,
- 'redirectmatch': 1,
- 'redirectpermanent': 1,
- 'redirecttemp': 1,
- 'removecharset': 1,
- 'removeencoding': 1,
- 'removehandler': 1,
- 'removeinputfilter': 1,
- 'removelanguage': 1,
- 'removeoutputfilter': 1,
- 'removetype': 1,
- 'requestheader': 1,
- 'require': 2,
- 'rewritebase': 1,
- 'rewritecond': 10,
- 'rewriteengine': 1,
- 'rewritelock': 1,
- 'rewritelog': 1,
- 'rewriteloglevel': 1,
- 'rewritemap': 1,
- 'rewriteoptions': 1,
- 'rewriterule': 10,
- 'rlimitcpu': 1,
- 'rlimitmem': 1,
- 'rlimitnproc': 1,
- 'satisfy': 1,
- 'scoreboardfile': 1,
- 'script': 1,
- 'scriptalias': 1,
- 'scriptaliasmatch': 1,
- 'scriptinterpretersource': 1,
- 'scriptlog': 1,
- 'scriptlogbuffer': 1,
- 'scriptloglength': 1,
- 'scriptsock': 1,
- 'securelisten': 1,
- 'seerequesttail': 1,
- 'sendbuffersize': 1,
- 'serveradmin': 1,
- 'serveralias': 1,
- 'serverlimit': 1,
- 'servername': 1,
- 'serverpath': 1,
- 'serverroot': 1,
- 'serversignature': 1,
- 'servertokens': 1,
- 'setenv': 1,
- 'setenvif': 1,
- 'setenvifnocase': 1,
- 'sethandler': 1,
- 'setinputfilter': 1,
- 'setoutputfilter': 1,
- 'ssienableaccess': 1,
- 'ssiendtag': 1,
- 'ssierrormsg': 1,
- 'ssistarttag': 1,
- 'ssitimeformat': 1,
- 'ssiundefinedecho': 1,
- 'sslcacertificatefile': 1,
- 'sslcacertificatepath': 1,
- 'sslcadnrequestfile': 1,
- 'sslcadnrequestpath': 1,
- 'sslcarevocationfile': 1,
- 'sslcarevocationpath': 1,
- 'sslcertificatechainfile': 1,
- 'sslcertificatefile': 1,
- 'sslcertificatekeyfile': 1,
- 'sslciphersuite': 1,
- 'sslcryptodevice': 1,
- 'sslengine': 1,
- 'sslhonorciperorder': 1,
- 'sslmutex': 1,
- 'ssloptions': 1,
- 'sslpassphrasedialog': 1,
- 'sslprotocol': 1,
- 'sslproxycacertificatefile': 1,
- 'sslproxycacertificatepath': 1,
- 'sslproxycarevocationfile': 1,
- 'sslproxycarevocationpath': 1,
- 'sslproxyciphersuite': 1,
- 'sslproxyengine': 1,
- 'sslproxymachinecertificatefile': 1,
- 'sslproxymachinecertificatepath': 1,
- 'sslproxyprotocol': 1,
- 'sslproxyverify': 1,
- 'sslproxyverifydepth': 1,
- 'sslrandomseed': 1,
- 'sslrequire': 1,
- 'sslrequiressl': 1,
- 'sslsessioncache': 1,
- 'sslsessioncachetimeout': 1,
- 'sslusername': 1,
- 'sslverifyclient': 1,
- 'sslverifydepth': 1,
- 'startservers': 1,
- 'startthreads': 1,
- 'substitute': 1,
- 'suexecusergroup': 1,
- 'threadlimit': 1,
- 'threadsperchild': 1,
- 'threadstacksize': 1,
- 'timeout': 1,
- 'traceenable': 1,
- 'transferlog': 1,
- 'typesconfig': 1,
- 'unsetenv': 1,
- 'usecanonicalname': 1,
- 'usecanonicalphysicalport': 1,
- 'user': 1,
- 'userdir': 1,
- 'virtualdocumentroot': 1,
- 'virtualdocumentrootip': 1,
- 'virtualscriptalias': 1,
- 'virtualscriptaliasip': 1,
- 'win32disableacceptex': 1,
- 'xbithack': 1
- },
- 'literal': {'on': 1, 'off': 1}
- }
- },
- modes: [
- hljs.HASH_COMMENT_MODE,
- {
- /* TODO: check tag content: Location, Files, VirtualHost, ... */
- className: 'tag',
- begin: '</?', end: '>'
- },
- {
- className: 'sqbracket',
- begin: '\\s\\[', end: '\\]$'
- },
- {
- className: 'cbracket',
- begin: '[\\$%]\\{', end: '\\}',
- contains: ['cbracket', 'number']
- },
- {
- className: 'number',
- begin: '[\\$%]\\d+', end: '^'
- },
- hljs.QUOTE_STRING_MODE,
- hljs.BACKSLASH_ESCAPE
- ]
-};
View
89 rdoc/assets/highlight/languages/avrasm.js
@@ -1,89 +0,0 @@
-/*
-Language: AVR Assembler
-Author: Vladimir Ermakov <vooon341@gmail.com>
-*/
-
-hljs.LANGUAGES.avrasm =
-{
- case_insensitive: true,
- defaultMode: {
- lexems: [hljs.IDENT_RE],
- contains: ['comment', 'number', 'string', 'label', 'preprocessor', 'localvars'],
- illegal: '',
- keywords: {
- 'keyword': {
- /* mnemonic */
- 'adc': 1, 'add': 1 , 'adiw': 1 , 'and': 1 , 'andi': 1 , 'asr': 1 , 'bclr': 1 , 'bld': 1 , 'brbc': 1 , 'brbs': 1 , 'brcc': 1 ,
- 'brcs': 1, 'break': 1, 'breq': 1, 'brge': 1, 'brhc': 1, 'brhs': 1, 'brid': 1, 'brie': 1, 'brlo': 1, 'brlt': 1, 'brmi': 1,
- 'brne': 1, 'brpl': 1, 'brsh': 1, 'brtc': 1, 'brts': 1, 'brvc': 1, 'brvs': 1, 'bset': 1, 'bst': 1, 'call': 1, 'cbi': 1,
- 'cbr': 1, 'clc': 1, 'clh': 1, 'cli': 1, 'cln': 1, 'clr': 1, 'cls': 1, 'clt': 1, 'clv': 1, 'clz': 1, 'com': 1, 'cp': 1,
- 'cpc': 1, 'cpi': 1, 'cpse': 1, 'dec': 1, 'eicall': 1, 'eijmp': 1, 'elpm': 1, 'eor': 1, 'fmul': 1, 'fmuls': 1, 'fmulsu': 1,
- 'icall': 1, 'ijmp': 1, 'in': 1, 'inc': 1, 'jmp': 1, 'ld': 1, 'ldd': 1, 'ldi': 1, 'lds': 1, 'lpm': 1, 'lsl': 1, 'lsr': 1,
- 'mov': 1, 'movw': 1, 'mul': 1, 'muls': 1, 'mulsu': 1, 'neg': 1, 'nop': 1, 'or': 1, 'ori': 1, 'out': 1, 'pop': 1, 'push': 1,
- 'rcall': 1, 'ret': 1, 'reti': 1, 'rjmp': 1, 'rol': 1, 'ror': 1, 'sbc': 1, 'sbr': 1, 'sbrc': 1, 'sbrs': 1, 'sec': 1, 'seh': 1,
- 'sbi': 1, 'sbci': 1, 'sbic': 1, 'sbis': 1, 'sbiw': 1, 'sei': 1, 'sen': 1, 'ser': 1, 'ses': 1, 'set': 1, 'sev': 1, 'sez': 1,
- 'sleep': 1, 'spm': 1, 'st': 1, 'std': 1, 'sts': 1, 'sub': 1, 'subi': 1, 'swap': 1, 'tst': 1, 'wdr': 1
- },
- 'built_in': {
- /* general purpose registers */
- 'r0': 1, 'r1': 1, 'r2': 1, 'r3': 1, 'r4': 1, 'r5': 1, 'r6': 1, 'r7': 1, 'r8': 1, 'r9': 1, 'r10': 1, 'r11': 1, 'r12': 1,
- 'r13': 1, 'r14': 1, 'r15': 1, 'r16': 1, 'r17': 1, 'r18': 1, 'r19': 1, 'r20': 1, 'r21': 1, 'r22': 1, 'r23': 1, 'r24': 1,
- 'r25': 1, 'r26': 1, 'r27': 1, 'r28': 1, 'r29': 1, 'r30': 1, 'r31': 1,
- 'x': 1 /* R27:R26 */, 'xh': 1 /* R27 */, 'xl': 1 /* R26 */,
- 'y': 1 /* R29:R28 */, 'yh': 1 /* R29 */, 'yl': 1 /* R28 */,
- 'z': 1 /* R31:R30 */, 'zh': 1 /* R31 */, 'zl': 1 /* R30 */,
- /* IO Registers (ATMega128) */
- 'ucsr1c': 1, 'udr1': 1, 'ucsr1a': 1, 'ucsr1b': 1, 'ubrr1l': 1, 'ubrr1h': 1, 'ucsr0c': 1, 'ubrr0h': 1, 'tccr3c': 1,
- 'tccr3a': 1, 'tccr3b': 1, 'tcnt3h': 1, 'tcnt3l': 1, 'ocr3ah': 1, 'ocr3al': 1, 'ocr3bh': 1, 'ocr3bl': 1, 'ocr3ch': 1,
- 'ocr3cl': 1, 'icr3h': 1, 'icr3l': 1, 'etimsk': 1, 'etifr': 1, 'tccr1c': 1, 'ocr1ch': 1, 'ocr1cl': 1, 'twcr': 1,
- 'twdr': 1, 'twar': 1, 'twsr': 1, 'twbr': 1, 'osccal': 1, 'xmcra': 1, 'xmcrb': 1, 'eicra': 1, 'spmcsr': 1, 'spmcr': 1,
- 'portg': 1, 'ddrg': 1, 'ping': 1, 'portf': 1, 'ddrf': 1, 'sreg': 1, 'sph': 1, 'spl': 1, 'xdiv': 1, 'rampz': 1,
- 'eicrb': 1, 'eimsk': 1, 'gimsk': 1, 'gicr': 1, 'eifr': 1, 'gifr': 1, 'timsk': 1, 'tifr': 1, 'mcucr': 1,
- 'mcucsr': 1, 'tccr0': 1, 'tcnt0': 1, 'ocr0': 1, 'assr': 1, 'tccr1a': 1, 'tccr1b': 1, 'tcnt1h': 1, 'tcnt1l': 1,
- 'ocr1ah': 1, 'ocr1al': 1, 'ocr1bh': 1, 'ocr1bl': 1, 'icr1h': 1, 'icr1l': 1, 'tccr2': 1, 'tcnt2': 1, 'ocr2': 1,
- 'ocdr': 1, 'wdtcr': 1, 'sfior': 1, 'eearh': 1, 'eearl': 1, 'eedr': 1, 'eecr': 1, 'porta': 1, 'ddra': 1, 'pina': 1,
- 'portb': 1, 'ddrb': 1, 'pinb': 1, 'portc': 1, 'ddrc': 1, 'pinc': 1, 'portd': 1, 'ddrd': 1, 'pind': 1, 'spdr': 1,
- 'spsr': 1, 'spcr': 1, 'udr0': 1, 'ucsr0a': 1, 'ucsr0b': 1, 'ubrr0l': 1, 'acsr': 1, 'admux': 1, 'adcsr': 1, 'adch': 1,
- 'adcl': 1, 'porte': 1, 'ddre': 1, 'pine': 1, 'pinf': 1
- }
- }
- },
-
- modes: [
- hljs.C_BLOCK_COMMENT_MODE,
- {
- className: 'comment',
- begin: ';', end: '$'
- },
- hljs.BACKSLASH_ESCAPE,
- hljs.QUOTE_STRING_MODE,
- {
- className: 'string',
- begin: '\'', end: '[^\\\\]\'',
- illegal: '[^\\\\][^\']'
- },
- hljs.C_NUMBER_MODE,
- /*{ // Hex: 0x00, $00; Oct: 0o00; Bin: 0b00000000; Dec: 0
- // пока что-то не получается :(, буду использовать сишную моду.
- className: 'number',
- begin: '((0[xX]|\$)[A-Fa-f0-9]+|0[oO][0-7]+|0[bB][0-1]+|\\d+)', end: '^'
- }*/
- {
- className: 'label',
- begin: '^[A-Za-z0-9_.$]+:', end: '^'
- },
- {
- className: 'preprocessor',
- begin: '#', end: '$'
- },
- { // директивы «.include» «.macro» и т.д.
- className: 'preprocessor',
- begin: '\\.[a-zA-Z]+', end: '^'
- },
- { // подстановка в «.macro»
- className: 'localvars',
- begin: '@[0-9]+', end: '^'
- }
- ]
-};
-
View
52 rdoc/assets/highlight/languages/axapta.js
@@ -1,52 +0,0 @@
-/*
-Language: Axapta
-Author: Dmitri Roudakov <dmitri@roudakov.ru>
-*/
-
-hljs.LANGUAGES.axapta = {
- defaultMode: {
- lexems: [hljs.UNDERSCORE_IDENT_RE],
- contains: ['comment', 'string', 'class', 'number', 'preprocessor'],
- keywords: {'false': 1, 'int': 1, 'abstract': 1, 'private': 1, 'char': 1, 'interface': 1, 'boolean': 1, 'static': 1, 'null': 1, 'if': 1, 'for': 1, 'true': 1, 'while': 1, 'long': 1, 'throw': 1, 'finally': 1, 'protected': 1, 'extends': 1, 'final': 1, 'implements': 1, 'return': 1, 'void': 1, 'enum': 1, 'else': 1, 'break': 1, 'new': 1, 'catch': 1, 'byte': 1, 'super': 1, 'class': 1, 'case': 1, 'short': 1, 'default': 1, 'double': 1, 'public': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1,
- 'reverse':1, 'firstfast':1,'firstonly':1,'forupdate':1,'nofetch':1, 'sum':1, 'avg':1, 'minof':1, 'maxof':1, 'count':1, 'order':1, 'group':1, 'by':1, 'asc':1, 'desc':1, 'index':1, 'hint':1, 'like':1,
- 'dispaly':1, 'edit':1, 'client':1, 'server':1, 'ttsbegin':1, 'ttscommit':1,
- 'str':1, 'real':1, 'date':1, 'container':1, 'anytype':1, 'common':1, 'div':1,'mod':1
- }
- },
- modes: [
- {
- className: 'class',
- lexems: [hljs.UNDERSCORE_IDENT_RE],
- begin: '(class |interface )', end: '{',
- illegal: ':',
- keywords: {'class': 1, 'interface': 1},
- contains: ['inheritance', 'title']
- },
- {
- className: 'inheritance',
- begin: '(implements|extends)', end: '^',
- lexems: [hljs.IDENT_RE],
- keywords: {'extends': 1, 'implements': 1},
- relevance: 10
- },
- {
- className: 'title',
- begin: hljs.UNDERSCORE_IDENT_RE, end: '^'
- },
- {
- className: 'params',
- begin: '\\(', end: '\\)',
- contains: ['string', 'annotation']
- },
- hljs.C_NUMBER_MODE,
- hljs.APOS_STRING_MODE,
- hljs.QUOTE_STRING_MODE,
- hljs.BACKSLASH_ESCAPE,
- hljs.C_LINE_COMMENT_MODE,
- hljs.C_BLOCK_COMMENT_MODE,
- {
- className: 'preprocessor',
- begin: '#', end: '$'
- }
- ]
-};
View
81 rdoc/assets/highlight/languages/bash.js
@@ -1,81 +0,0 @@
-/*
-Language: Bash
-Author: vah <vahtenberg@gmail.com>
-*/
-
-hljs.LANGUAGES.bash = function(){
- var BASH_LITERAL = {'true' : 1, 'false' : 1}
- return {
- defaultMode: {
- lexems: [hljs.IDENT_RE],
- contains: ['string', 'shebang', 'comment', 'number', 'test_condition', 'string', 'variable'],
- keywords: {
- 'keyword': {'if' : 1, 'then' : 1, 'else' : 1, 'fi' : 1, 'for' : 1, 'break' : 1, 'continue' : 1, 'while' : 1, 'in' : 1, 'do' : 1, 'done' : 1, 'echo' : 1, 'exit' : 1, 'return' : 1, 'set' : 1, 'declare' : 1},
- 'literal': BASH_LITERAL
- }
- },
- case_insensitive: false,
- modes: [
- {
- className: 'shebang',
- begin: '(#!\\/bin\\/bash)|(#!\\/bin\\/sh)',
- end: '^',
- relevance: 10
- },
- hljs.HASH_COMMENT_MODE,
- {
- className: 'test_condition',
- begin: '\\[ ',
- end: ' \\]',
- contains: ['string', 'variable', 'number'],
- lexems: [hljs.IDENT_RE],
- keywords: {
- 'literal': BASH_LITERAL
- },
- relevance: 0
- },
- {
- className: 'test_condition',
- begin: '\\[\\[ ',
- end: ' \\]\\]',
- contains: ['string', 'variable', 'number'],
- lexems: [hljs.IDENT_RE],
- keywords: {
- 'literal': BASH_LITERAL
- }
- },
- {
- className: 'variable',
- begin: '\\$([a-zA-Z0-9_]+)\\b',
- end: '^'
- },
- {
- className: 'variable',
- begin: '\\$\\{(([^}])|(\\\\}))+\\}',
- end: '^',
- contains: ['number']
- },
- {
- className: 'string',
- begin: '"', end: '"',
- illegal: '\\n',
- contains: ['escape', 'variable'],
- relevance: 0
- },
- {
- className: 'string',
- begin: '"', end: '"',
- illegal: '\\n',
- contains: ['escape', 'variable'],
- relevance: 0
- },
- hljs.BACKSLASH_ESCAPE,
- hljs.C_NUMBER_MODE,
- {
- className: 'comment',
- begin: '\\/\\/', end: '$',
- illegal: '.'
- }
- ]
- };
-}();
View
42 rdoc/assets/highlight/languages/cpp.js
@@ -1,42 +0,0 @@
-/*
-Language: C++
-*/
-
-hljs.LANGUAGES.cpp = function(){
- var CPP_KEYWORDS = {
- 'keyword': {'false': 1, 'int': 1, 'float': 1, 'while': 1, 'private': 1, 'char': 1, 'catch': 1, 'export': 1, 'virtual': 1, 'operator': 2, 'sizeof': 2, 'dynamic_cast': 2, 'typedef': 2, 'const_cast': 2, 'const': 1, 'struct': 1, 'for': 1, 'static_cast': 2, 'union': 1, 'namespace': 1, 'unsigned': 1, 'long': 1, 'throw': 1, 'volatile': 2, 'static': 1, 'protected': 1, 'bool': 1, 'template': 1, 'mutable': 1, 'if': 1, 'public': 1, 'friend': 2, 'do': 1, 'return': 1, 'goto': 1, 'auto': 1, 'void': 2, 'enum': 1, 'else': 1, 'break': 1, 'new': 1, 'extern': 1, 'using': 1, 'true': 1, 'class': 1, 'asm': 1, 'case': 1, 'typeid': 1, 'short': 1, 'reinterpret_cast': 2, 'default': 1, 'double': 1, 'register': 1, 'explicit': 1, 'signed': 1, 'typename': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'wchar_t': 1, 'inline': 1, 'delete': 1},
- 'built_in': {'std': 1, 'string': 1, 'cin': 1, 'cout': 1, 'cerr': 1, 'clog': 1, 'stringstream': 1, 'istringstream': 1, 'ostringstream': 1, 'auto_ptr': 1, 'deque': 1, 'list': 1, 'queue': 1, 'stack': 1, 'vector': 1, 'map': 1, 'set': 1, 'bitset': 1, 'multiset': 1, 'multimap': 1}
- };
- return {
- defaultMode: {
- lexems: [hljs.UNDERSCORE_IDENT_RE],
- illegal: '</',
- contains: ['comment', 'string', 'number', 'preprocessor', 'stl_container'],
- keywords: CPP_KEYWORDS
- },
- modes: [
- hljs.C_LINE_COMMENT_MODE,
- hljs.C_BLOCK_COMMENT_MODE,
- hljs.C_NUMBER_MODE,
- hljs.QUOTE_STRING_MODE,
- hljs.BACKSLASH_ESCAPE,
- {
- className: 'string',
- begin: '\'', end: '[^\\\\]\'',
- illegal: '[^\\\\][^\']'
- },
- {
- className: 'preprocessor',
- begin: '#', end: '$'
- },
- {
- className: 'stl_container',
- begin: '\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap)\\s*<', end: '>',
- contains: ['stl_container'],
- lexems: [hljs.UNDERSCORE_IDENT_RE],
- keywords: CPP_KEYWORDS,
- relevance: 10
- }
- ]
- };
-}();
View
47 rdoc/assets/highlight/languages/cs.js
@@ -1,47 +0,0 @@
-/*
-Language: C#
-Author: Jason Diamond <jason@diamond.name>
-*/
-
-hljs.LANGUAGES.cs = {
- defaultMode: {
- lexems: [hljs.UNDERSCORE_IDENT_RE],
- contains: ['comment', 'string', 'number'],
- keywords: {
- // Normal keywords.
- 'abstract': 1, 'as': 1, 'base': 1, 'bool': 1, 'break': 1, 'byte': 1, 'case': 1, 'catch': 1, 'char': 1, 'checked': 1, 'class': 1, 'const': 1, 'continue': 1, 'decimal': 1, 'default': 1, 'delegate': 1, 'do': 1, 'do': 1, 'double': 1, 'else': 1, 'enum': 1, 'event': 1, 'explicit': 1, 'extern': 1, 'false': 1, 'finally': 1, 'fixed': 1, 'float': 1, 'for': 1, 'foreach': 1, 'goto': 1, 'if': 1, 'implicit': 1, 'in': 1, 'int': 1, 'interface': 1, 'internal': 1, 'is': 1, 'lock': 1, 'long': 1, 'namespace': 1, 'new': 1, 'null': 1, 'object': 1, 'operator': 1, 'out': 1, 'override': 1, 'params': 1, 'private': 1, 'protected': 1, 'public': 1, 'readonly': 1, 'ref': 1, 'return': 1, 'sbyte': 1, 'sealed': 1, 'short': 1, 'sizeof': 1, 'stackalloc': 1, 'static': 1, 'string': 1, 'struct': 1, 'switch': 1, 'this': 1, 'throw': 1, 'true': 1, 'try': 1, 'typeof': 1, 'uint': 1, 'ulong': 1, 'unchecked': 1, 'unsafe': 1, 'ushort': 1, 'using': 1, 'virtual': 1, 'volatile': 1, 'void': 1, 'while': 1,
- // Contextual keywords.
- 'ascending': 1, 'descending': 1, 'from': 1, 'get': 1, 'group': 1, 'into': 1, 'join': 1, 'let': 1, 'orderby': 1, 'partial': 1, 'select': 1, 'set': 1, 'value': 1, 'var': 1, 'where': 1, 'yield': 1
- }
- },
- modes: [
- {
- className: 'comment',
- begin: '///', end: '$', returnBegin: true,
- contains: ['xmlDocTag']
- },
- {
- className: 'xmlDocTag',
- begin: '///|<!--|-->', end: '^'
- },
- {
- className: 'xmlDocTag',
- begin: '</?', end: '>'
- },
- {
- className: 'string',
- begin: '@"', end: '"',
- contains: ['quoteQuote']
- },
- {
- className: 'quoteQuote',
- begin: '""', end: '^'
- },
- hljs.C_LINE_COMMENT_MODE,
- hljs.C_BLOCK_COMMENT_MODE,
- hljs.APOS_STRING_MODE,
- hljs.QUOTE_STRING_MODE,
- hljs.BACKSLASH_ESCAPE,
- hljs.C_NUMBER_MODE
- ]
-};
View
81 rdoc/assets/highlight/languages/css.js
@@ -1,81 +0,0 @@
-/*
-Language: CSS
-Requires: html-xml.js
-*/
-
-hljs.LANGUAGES.css = {
- defaultMode: {
- contains: ['at_rule', 'id', 'class', 'attr_selector', 'pseudo', 'rules', 'comment'],
- keywords: hljs.HTML_TAGS,
- lexems: [hljs.IDENT_RE],
- illegal: '='
- },
- case_insensitive: true,
- modes: [
- {
- className: 'at_rule',
- begin: '@', end: '[{;]',
- excludeEnd: true,
- lexems: [hljs.IDENT_RE],
- keywords: {'import': 1, 'page': 1, 'media': 1, 'charset': 1, 'font-face': 1},
- contains: ['function', 'string', 'number', 'pseudo']
- },
- {
- className: 'id',
- begin: '\\#[A-Za-z0-9_-]+', end: '^'
- },
- {
- className: 'class',
- begin: '\\.[A-Za-z0-9_-]+', end: '^',